cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Import large graphml file into neo4j

Hello,

We are trying to import a large graphml (around 6.5gb) into neo4j using apoc.import.graphml. Neo4j is throwing java.lang:StackOverflowError. In the neo4j.conf file, we have added an additional parameter dbms.jvm.additional= -Xss1g. Even after making this change, still getting the same error. Is this configuration correct or what changes have to be made to accommodate this. Also, please let me know if there is any other procedure to achieve the same. Thank you.

3 REPLIES 3

You could give it more memory (if the machine has more memory of course) or chop the file you are trying to import into smaller chunks first and import them one-by-one.

Thomas

actually thinking about this... you are getting a stackOverFlow. More heap memory won't help in that case I guess. You could try and increase the stack memory size. See your JVM documentation for how to do that.

Thomas

Hi Thomas,

Thank you for the response. We were unable to increase the stack size above 2gb. Will check the documentation again.