What are the default values for the following options in Java 6 on a non-server-class machine?
- -Xmx
- -XX:MaxPermSize
Oracle's documentation states that:
On server-class machines running the server VM, the garbage collector (GC) has changed from the previous serial collector (-XX:+UseSerialGC) to a parallel collector (-XX:+UseParallelGC).
and
On server-class machines running either VM (client or server) with the parallel garbage collector (-XX:+UseParallelGC) the initial heap size and maximum heap size have changed
The page doesn't describe the defaults for non-server-class machines, only that, for example, the initial heap size is "a reasonable minimum". Looking at the 'man page' for the java
command there is the following against -Xms
:
The default value is chosen at runtime based on system configuration
java -XX:+PrintFlagsFinal
– Extensile