CST 334 - Week 3
The main topics this week involved memory allocation as well as some regular expression and awk scripts. First memory can be virtualized. In order for a program to run it must be loaded from the disk into RAM generating a process address space. The program does not get access to the entire memory though. It only gets access to available memory and only the amount it needs. This process is controlled through the OS Memory Management system. The OS Memory Management system provides an illusion to the program that it is accessing the entirety of the physical memory in a system. Each process has a set illusion address space that it thinks is the entire memory. This allows for multi-programming on a system because not one process can use all of the memory. When the program is transferred from this illusion address space, logical address, to the physical address on the actual memory it is referred to as program relocation. Ther...