What is probably happening is that the relationship references might be concentrated around a couple of nodes, forcing a large number of them to be in memory.
I can't really tell without understanding the model and how you're "randomizing" relationships. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gautam Thaker Sent: Wednesday, August 31, 2011 2:33 PM To: Neo4j user discussions Subject: Re: [Neo4j] EXTERNAL: Re: Running out of memory in creating large graph.. On 8/31/2011 12:36 PM, Rick Bullotta wrote: > Commit your changes after each 1000-2000 node writes and relationship writes, > and it will go MUCH faster. > > - OK, I will try this now, but doing a tx and commit for each node creation and each relationship creation, can it cause me to run out of 2.5Gb of heap memory? Gautam _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

