Brain Dump

Process Heap

Tags
comp-arch

A contiguous expanding region of memory, where variables whose size cannot be determined at compile time or whose lifetime needs to be controlled manually, can be allocated. This section starts at the end of the data-segment and grows upwards. This area is also writable but not executable.

Warn: The heap can run out of memory if the system is constrained or if the program runs out of available addresses (a more common issue on 32-bit systems).

Links to this note