Re: [Neo] Problem iterating large relationship lists

2009-02-24 Thread Johan Svensson
Hi Sebastian, A fix for this is planned for the 1.1 release (I saw there was no ticket created for this so I created one: https://trac.neo4j.org/ticket/140). The workaround for now is to add "balance" nodes where you split the relationships up on more then one node. So if you have one node with l

[Neo] Problem iterating large relationship lists

2009-02-24 Thread Sebastian Stober
Hi, I would like to iterate over all nodes (about 7.5 million !!!) linked to a factory node. When I call getRelationships(type, direction).iterator() on the factory node I get the following exception: Exception in thread "AdaptiveCacheWorker" java.lang.OutOfMemoryError: Java heap space