tags: process memory memory-management operating-system os is_child_of: process

Memory Segments

A process has memory divided into three segments.

  1. Program text
  2. Data
  3. and Stack

process-memory.png

Data grows upward and stack grows downward. Growing of stack is automatic while data space has be explicitely grown.