What is the Heap Memory?

Card Puncher Data Processing


The heap is a chunk of memory where the variables or functions are stored during run time.

A garbage collector manages the heap if present in the language features.

Data structure

The heap has a data structure called the heap. See the dedicated page: Tree - Heap Data Structure

Discover More
Jconsole Memory Chart
JVM - Memory (The Heap)

The JVM memory consists of the following segments: Heap Memory, which is the storage for Java objects Non-Heap Memory, which is used by Java to store loaded classes and other meta-data JVM code...
Card Puncher Data Processing
Language - Garbage Collector (GC)

Language that have a garbage collector allows you to create as many variable (objects) as you want and you don't have to worry destroying them. Their runtime environment deletes objects when it determines...
Card Puncher Data Processing
Memory - Allocation (Request)

The task of fulfilling an allocation request consists of locating a block of unused memory of sufficient size. Memory requests are satisfied by allocating portions from a large pool of memory called...

Share this page:
Follow us:
Task Runner