My Oracle Support Banner

How Does Java SE 6 Calculate the Default Value for MaxHeapSize (-Xmx)? (Doc ID 2097799.1)

Last updated on JANUARY 22, 2025

Applies to:

Java SE JDK and JRE - Version 6 to 7 [Release 6 to 7]
Information in this document applies to any platform.

Goal

This document explains how Java SE 6 calculates the default value for its maximum heap size (i.e. -Xmx or -XX:MaxHeapSize ).
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.