Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-20-2022 10:01 PM
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.
10-21-2022 02:07 AM
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
10-21-2022 02:12 AM
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
10-21-2022 02:21 AM
Hi Thomas,
Thank you for the response. We were unable to increase the stack size above 2gb. Will check the documentation again.
All the sessions of the conference are now available online