Do you use the Batchinserter or a normal Transaction?
When using a normal Transaction to insert huge amounts of data I always
submit and create a new transaction every X Items. This keeps the
transaction small and reduces the memory used.

cheers Martin

On Sun, Jul 4, 2010 at 4:13 PM, <[email protected]> wrote:

> Hallo,
>
> I'm currently working with neo4j database and want to insert a bunch
> of data into it.
>
> At the very beginning the program works quite well. But as more data
> has been inserted into the database, the insertion runs more and more
> slowly and I noticed that the program consumes really a lot of memory.
> Even though I splitted the input file into small pieces so that each
> time the program tries only to insert a small part of data, the
> problem occurs. That means, as there exists already much data in the
> database, the program consumes a lot of memory as soon as it begins so
> that the insertion is so slow that it seems that it won't be able to
> finish.
>
> I wonder if there's some solutions to save the memory. Thanks in advance.
>
> Cheers,
> Qiuyan
>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to