CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit www.eclipse.org/openj9/docs

-XX:InitialHeapSize / -XX:MaxHeapSize

These HotSpot options for specifying heap size are recognized by OpenJ9 for compatibility. See -Xms / -Xmx for details.

Syntax

Setting Effect
-XX:InitialHeapSize<size> Set initial heap size
-XX:MaxHeapSize<size> Set maximum heap size