Hi,
according to the docs for linux (and solaris) (http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html) the default Xms and Xmx settings are 2M and 64MB.
I tried this on a virtual server with kernel memory limits:
$ java Hello
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
I thougt that this errore were due to the kernel memory limits, so I tried to reduce the memory:
$ java -Xmx24M Hello
This worked, so I slowly increased the memory limit
$ java -Xmx32M Hello
Ok.
$ java -Xmx48M Hello
Ok.
$ java -Xmx64M Hello
Ok. - Isn't this the DEFAULT value???
$ java -Xmx80M Hello
Ok.
I figured out that the critical limit is about 110 MB on my system.
So my question again: what ARE the default values for the Xms and Xmx settings?