Exactly, the problem is most likely that you try to insert all your
stuff in one transaction. All data for a transaction is kept in memory
until committed so for really big transactions it can fill your entire
heap. Try to group 10k operations or so for big insertions or use the
batch inserter.

Links:
http://wiki.neo4j.org/content/Transactions#Big_transactions
http://wiki.neo4j.org/content/Batch_Insert

2010/6/2, Laurent Laborde <[email protected]>:
> On Wed, Jun 2, 2010 at 3:50 AM, Biren Gandhi <[email protected]> wrote:
>>
>> Is there any limit on number of nodes that can be created in a neo4j
>> instance? Any other tips?
>
> I created hundreds of millions of nodes without problems, but it was
> splitted into many transaction.
>
> --
> Laurent "ker2x" Laborde
> Sysadmin & DBA at http://www.over-blog.com/
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>


-- 
Mattias Persson, [[email protected]]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to