0
votes

I'm looking for a solution of the problem of java heap space memory error. It begans to make me tired, so I'd like to help me to find where can I set the value of the heap space java .. I'm working on the project of rabbithole and I dont know where I could find the specified java heap space memory. I'm also developing on eclipse and I already moved the value of max memory but nothing seems to be working.

Is there anyone who can help me as soon as possible ?

Thank you all

1
Some more details would be helpful.Bonifacio2
you can follow this post: stackoverflow.com/questions/8600972/…Musich87
I'd like to create at least 100k nodes but I can not do that with the limited java heap space. I tried to set the value of maxmemorysize in eclipse.inito 4G but It still don't want to work. I'm using console.neo4j.com interface the same as the interface of the project rabbithole developed by Mr Michael Hunger (localhost:8080). Always displaying me on the terminal java heap space errorAmineP90X
In my case, i'd like to run the whole project using Maven. I don't have a class to run with the argument added to "run configuration".AmineP90X
Why don't you use Neo4j itself? The Neo4j console is meant to be used for demo datasets of about 200 nodes and 100 rels not for huge ones.Michael Hunger

1 Answers

1
votes

I assume you use mvn jetty:run to start rabbithole. In this case you can use the environment variable MAVEN_OPTS to pass in additional JVM parameters. E.g. when you want to set heap space to 4GB (both max and initial size) use:

MAVEN_OPTS="-Xmx4G -Xms4G" mvn jetty:run