My Oracle Support Banner

Understanding the Java heap vs. the native C heap (Doc ID 1355284.1)

Last updated on MAY 26, 2018

Applies to:

Java SE JDK and JRE - Version 1.4.2 and later
Information in this document applies to any platform.


A Java process basically consists of two different heap spaces.

The above is often confusing when it comes to OutOfMemory errors and allocation failures.
In particular in 32-bit mode where the overall process space is limited to 4gb or even 2gb depending on the OS.

Troubleshooting Steps

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
Troubleshooting Steps

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