[英]Java heap space error in rabbithole project (Neo4j console)
I'm looking for a solution of the problem of java heap space memory error . 我正在寻找Java堆空间内存错误问题的解决方案。 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.
它开始让我感到疲倦,所以我想帮助我找到在哪里可以设置Java堆空间的值..我正在研究Rabbithole项目,但是我不知道在哪里可以找到指定的Java堆空间内存。 I'm also developing on eclipse and I already moved the value of max memory but nothing seems to be working.
我也在eclipse上进行开发,并且已经移动了max memory的值,但是似乎没有任何作用。
Is there anyone who can help me as soon as possible ? 有谁能尽快帮助我?
Thank you all 谢谢你们
I assume you use mvn jetty:run
to start rabbithole. 我假设您使用
mvn jetty:run
启动Rabbithole。 In this case you can use the environment variable MAVEN_OPTS
to pass in additional JVM parameters. 在这种情况下,可以使用环境变量
MAVEN_OPTS
传入其他JVM参数。 Eg when you want to set heap space to 4GB (both max and initial size) use: 例如,当您要将堆空间设置为4GB(最大和初始大小)时,请使用:
MAVEN_OPTS="-Xmx4G -Xms4G" mvn jetty:run
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.