Reduce cap on maximum heap size?

Florian Weimer fweimer at
Thu Nov 10 04:23:17 PST 2011

It seems that in OpenJDK 7, there isn't a useful limit on the
automatically configured maximum heap size.  With 48 GB on a Linux
system (amd64), the default choice is 12 GB, which means that scaled
compressed oops which have a performance impact are used, as far as I
understand it.

Would it make sense to cap the maximum heap size around 1.5 GB instead?

Florian Weimer                <fweimer at>
BFK edv-consulting GmbH
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

More information about the hotspot-dev mailing list