Skip to content Skip to sidebar Skip to footer

Py2neo - Neo4j - System Error - Create Batch Nodes/relationships

Attempting to batch create nodes & relationships - batch creation is failing - Traceback at end of the post Note code functions with smaller subset of nodes - fails when get i

Solution 1:

I had a similar issue. One way to deal with it is to do the batch.submit() for chunks of your data and not the whole data set. This is slower of course, but splitting one million nodes in chunks of 5000 is still faster than adding every node separately.

I use a small helper class to do this, note that all my nodes are indexed: https://gist.github.com/anonymous/6293739

Post a Comment for "Py2neo - Neo4j - System Error - Create Batch Nodes/relationships"