The operating system handles the primary and secondary memory usage of the applications. It keeps track of how much of the memory is used, by which process, and what parts are free. It also handles allocation of new memory from the processes and memory de-allocation when the processes are complete.
Memory management
Techniques of management
There are different techniques for handling memory, including the following:
- Single allocation: All the memory, besides the part reserved for the OS, is available for the application. This means that there can only be one application in execution at a time, like in Microsoft Disk Operating System (MS-DOS).
- Partitioned allocation: This divides the memory into different blocks...