Memory Management Flashcards
An abstraction of physical memory, virtualized by the OS that defines the range of memory addresses.
The Address Space/Logical Memory
The process of keeping several programs in memory, ready to run at any given moment.
Multiprogramming
An extension of multiprogramming, the process of switching between all active programs at regular intervals.
Time-sharing/Multitasking
The 4 Sections of a Process in Memory:
1) Text
2) Data
3) Heap
4) Stack
Which part of memory is for dynamically allocated variables?
Heap
Which part of memory is for local variables?
Stack
Physical memory is divided into fixed-units, typically 4 bytes, called what?
Words
When are the 3 times address binding can happen?
1) Compile time
2) Load time
3) Execution time
The logical address space is defined by a pair of what?
Registers (Base and Limit)
Logical to physical memory mapping that involves loading the entire program into memory.
Static Relocation
Logical to physical memory mapping that splits program into segments and uses multiple registers to hold addresses.
Segmentation
A type of logical/physical mapping that leads to external fragmentation
Static Relocation
Segmentation created this new problem compared to Static Relocation.
Holes, with a variety of sizes.
The process by which the OS keeps track of free space in memory using a linked list to find space for different processes.
Free-Space Management
4 Free-Space Management allocation strategies:
1) First Fit
2) Next Fit
3) Best Fit
4) Worst Fit