I am facing below issue on linux suse while running my java program:
Error occurred during initialization of VM

Could not reserve enough space for object heap

Could not create the Java virtual machine.

My JRE 64 bit and also mahcine has enough memory

free -t -g
total used free shared buffers cached
Mem: 9 6 3 0 0 4
-/+ buffers/cache: 1 8
Swap: 4 0 4
Total: 13 6

And it works fine two or three times after restart the mahcine.