previousupnext

1.1 Classical Organisation

A traditional memory organisation is shown in the diagram:


The stack grows towards lower memory addresses, the heap towards higher. In this way the best use is made of available memory without having to guess beforehand the maximum extent of either stack or heap.