F What is Process Memory in Operating System | CodeTheta

What is Process Memory in Operating System

October 03, 2020

Process memory divided in to 4 main section - 
1. Stack Section.
2. Heap Section.
3. Data Section.
4. Text Section.

Stack - Stack section is basically used for local variables.

Heap - Heap section used for dynamic memory allocation. Heap section managed via call of free, malloc, delete, new function.

Data - This section used for static and global variables.

Text - This section hold compiled code from non volatile memory when program launched.

If you have any Question you can contact us or mail us. We will reply you as soon as possible.

Post a Comment