Understanding the Java Heap Versus the Native (C) Heap
(Doc ID 1355284.1)
Last updated on DECEMBER 05, 2024
Applies to:
Java SE JDK and JRE - Version 8 and laterInformation in this document applies to any platform.
Purpose
A Java process consists of two separate heap spaces:
- Java heap
- Native heap, also known as "C heap"
This can be confusing when it comes to understanding OutOfMemoryErrors and memory allocation failures. This document explains some differences between these memory spaces and how to handle various OutOfMemoryErrors related to the C heap and Java heap.
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
Purpose |
Troubleshooting Steps |
References |