Understanding memory partitions


Now that we know that computer programs, no matter what language/framework they are written in, become processes in the computer memory when executed, the next step is to understand the structure of these processes when loaded into memory for execution.

As shown in the diagram below, the memory (RAM) associated with a process is partitioned into several sections when it is loaded for execution. 

Loading Image

The structure of a process in memory

Liking the course? Check our discounted plans to continue learning.