I have a problem using neo4j-shell in my mac. When I tried to start it up, these information showed up.
But I have Xms and Xmx set to 128 and 512 respectively and I did that in .bash_profile file
How can I fix this problem? Thx!
I have a problem using neo4j-shell in my mac. When I tried to start it up, these information showed up.
But I have Xms and Xmx set to 128 and 512 respectively and I did that in .bash_profile file
How can I fix this problem? Thx!
You're getting caught by a typo. Instead of
-Xmx512
it should be-Xmx512m
.You're specifying that the initial size should be 128MB, and that the maximum size should be 512 bytes. Without the
m
, that doesn't make sense. :)EDIT - I tried your sample, and upped
-XX:MaxPermSize
to 512m, and it works for me:export JAVA_OPTS="-Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=512m"