I get the error "Cannot start: not enough memory" when I run my code using "java -Xmx30G ExampleCode".
This error does not occur when I do not specify the size of the java virtual machine. Does anyone know why I get this error message when I set the size of a virtual machine? If -Xmx is less than 1G, then it starts, if not, then I received the error message indicated.
Thanks in advance for your help!
And yes, enough RAM :) (72G available).
BTW, JavaHome - / opt / jre1.6.0_20
source
share