What is the default maximum heap size for Sun's JVM from J2SE 6?

Posted by dfrankow on Stack Overflow See other posts from Stack Overflow or by dfrankow
Published on 2010-05-26T17:22:23Z Indexed on 2010/05/26 18:01 UTC
Read the original article Hit count: 254

Filed under:
|
|

What is the default maximum heap size for Sun's JVM from J2SE 6 (i.e. equivalent to setting -Xmx)?

Looks like for J2SE 5 with a server-class machine, it's

Smaller of 1/4th of the physical memory or 1GB.

Bonus question: Looks like for IBM's JVM you can ask it

java -verbose:sizes -version

Can you similarly ask Sun's JVM?

© Stack Overflow or respective owner

Related posts about java

Related posts about jvm