What is the default maximum heap size for Sun\'s JVM from Java SE 6 (i.e. equivalent to setting -Xmx)?
Looks like for Java SE 5 with a server-class machine, it\'s
With JDK, You can also use jinfo to connect to the JVM for the in question and get the value for MaxHeapSize:
jinfo -flag MaxHeapSize