Hi everyone, I struggle with this problem couple days...and still can't figure out what happened Has it something wrong about blueprint api?
Arvin於 2014年6月2日星期一UTC+8下午1時51分14秒寫道: > > Hi all, > In my research project, I partition my whole graph data into many parts, > and store each part in its own graph.db folder > then, I may load 10 or 15 graph.db into memory at the same time( new > Neo4jGraph(/path/to/graph.db) , I use blueprint api ), because I want to > traverse on these part of graph which means if I can't find the node I want > in this graph.db, I'll try to find it on other graph.db. > > It works fine at first, but when it ran for a while, it'll throw these > exceptions: > Exception in thread "main" java.lang.OutOfMemoryError: Java heap space > at > java.util.concurrent.atomic.AtomicReferenceArray.<init>(AtomicReferenceArray.java:94) > at > org.neo4j.kernel.impl.cache.GCResistantCache.<init>(GCResistantCache.java:89) > at > org.neo4j.kernel.impl.cache.GCResistantCacheProvider.newRelationshipCache(GCResistantCacheProvider.java:75) > at > org.neo4j.kernel.impl.core.DefaultCaches.relationship(DefaultCaches.java:54) > at > org.neo4j.kernel.InternalAbstractGraphDatabase.create(InternalAbstractGraphDatabase.java:458) > at > org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:256) > at > org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:106) > at > org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:81) > at > com.tinkerpop.blueprints.impls.neo4j.Neo4jGraph.<init>(Neo4jGraph.java:153) > at netdb.graph.unit.CacheManager.loadGraphToCache(CacheManager.java:125) > at netdb.graph.unit.CacheManager.findVertexInCache(CacheManager.java:67) > at netdb.graph.opts.framework.IndexedGraph.query(IndexedGraph.java:47) > at netdb.graph.opts.framework.run.OptsExecutor.run(OptsExecutor.java:62) > at > netdb.graph.opts.framework.run.OptsExecutor.main(OptsExecutor.java:129) > > Does anyone know where should I look into? How can I avoid these error? > any advice are welcome > > Thank you very much! > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
