What is Process Address Space?
Address space is a space in computer memory. And process Address Space means a space that is allocated in memory for a process. Every process has an address space.
Address Space can be of two types.
Physical Address Space
Virtual Address Space
What is Physical Address Space?
The physical address space is created in RAM.
What is Virtual Address Space?
Virtual Address Space is an address space that is created outside the main memory inside the virtual memory, and it is created in the hard disk.
What is Virtual Memory?
When our main memory is less and we want to get more benefit from this less memory, then we create virtual memory.
Virtual memory is memory outside the main memory and inside the hard disk.
Virtual memory acts as the main memory but it is actually not the main memory.
When a process is loads in OS, its address space is created.