Heap-based memory allocation: Difference between revisions

Content deleted Content added
m +cat mem man
Cewbot (talk | contribs)
Tag: Redirect target changed
 
(4 intermediate revisions by 4 users not shown)
Line 1:
#REDIRECT [[Memory management#Manual memory management]]
{{merge|Dynamic memory allocation}}
 
{{R to section}}
In '''Heap Based Memory Allocation''', the memory is allocated from a large pool of unused memory area called the ''heap'' dynamically. Space requirement is calculated during allocation at run-time and allocated memory areas life cycle does not depend on the procedure entry/exit. The allocated area is reached indirectly, by pointers or their equivalent (such as reference variables in Java and .NET). An alternative way to allocate memory is [[Stack-Based Memory Allocation]].
 
[[Category:Memory management]]