Memory Management Flashcards
is the functionality of an operating system (OS) that manages the primary memory, which includes the movement of processes back and forth between the main and the secondary memory during execution.
Memory management
These are the addresses used in a source code.
The variable names, constants, and instruction labels are the basic elements of a symbolic address space.
Symbolic addresses
These are the addresses at the time of compilation. A compiler converts symbolic addresses into relative addresses.
Relative addresses
These addresses are generated by the loader when a program is loaded into the main memory.
Physical addresses
This pertains to a fixed-length block of main memory
Frame
This refers to fixed-length block of data that resides in the secondary memory.
A page of data may temporarily be copied into a frame in the main memory.
Page
A variable-length block of data that resides in the secondary memory.
Segment
It is a mechanism in which a process can be swapped temporarily out of the main memory to the secondary memory in order to make memory space available for other processes.
It is also known as memory compaction.
Swapping
This occurs due to the continuous loading and removal of processes in the memory, wherein free memory spaces are broken down into smaller fragments.
This happens when processes cannot be allocated to memory blocks because of their small size and memory blocks remains unused.
Fragmentation
This occurs when the alloted memory blocks are of varying sizes.
This builds up due to the continuous removal of processes in the main memory.
External Fragmentation
This occurs when the alloted memory blocks are of fixed sizes and specific processes needs more space or less space than the size of the alloted memory block.
Internal fragmentation