I'm having trouble with Java on a virtual server, it always gives me the following error:
# java Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine.
I first solved this by using the CACAO virtual machine (of OpenJDK, by putting it first in jvm.cfg), but then I run into problems with my web application (Play! framework based, gives me nasty LinkageErrors). So I cannot use that VM. Instead I'd like to just use the normal server VM and set
-Xmx128M by default. How can I do that?
Related: this question