When a Process is created, it occupies space in Virtual Memory.
OS divided memory into six sections for Application/system processes.
1. System code space
2. System Libary space
3. System Data Space
4.Application code space
5.Application Data space
6. Application Library space
Code Space - It contains program instuctions and constants from the OBJ file.
Data Space - It is used by a process to store and manipulate Data.
Library Space - Its used by a process to store any routines loaded from libraries
2 comments:
Hi Meenakshi,
I have a situation where around 10 routines are called from one program with the depth of 10 ( 1->2->3->4...->10 ). And i am getting Stack Overflow error when trying to source in the next routine from the 10th routine.
Please suggest me the possible resolution to this.
Thanks,Hitesh
Also
Please give me some idea about what all things are contained in stack when any program is run and routines are sourced in it and called.
Many Thanks.
Post a Comment