If I omit the -Xmxn option from the Java command line then a default value will be used. According to Java documentation
-Xmxn
\"the default v
This is changed in Java 6 update 18.
Assuming that we have more than 1 GB of physical memory (quite common these days), it's always 1/4th of your physical memory for the server vm.