||06-01-2012 08:54 PM
Java Could Not Create The Virtual Machine
I have a 128mb with 256mb burstable VPS running Debian. When I try and run java I receive the following error.
root@ddk:~# javac -Xmx64m apples.java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
This is odd because then I run
java -Xmx64m apples
it works just peachy. I believe this is a problem with memory I just have a hard time believing that 128mb is not enough to compile a one line program. Thanks for any help.