Memory Management Article Index for
Memory
Articles about
Memory Management
Website Links For
Memory Management
 

Information About

Memory Management




Virtual Memory systems separate the memory addresses used by a process from actual physical addresses, allowing separation of processes and increasing the effectively available amount of RAM using Disk Swapping . The quality of the virtual memory manager can have a big impact on overall system performance.

Garbage Collection is the automated allocation, and deallocation of computer memory resources for a program. This is generally implemented at the programming language level and is in opposition to Manual Memory Management , the explicit allocation and deallocation of computer memory resources.


FEATURES


Memory management systems on Multi-tasking Operating Systems usually deal with the following issues.


Relocation


In systems with Virtual Memory , programs in memory must be able to reside in different parts of the memory at different times. This is because when the program is swapped back into memory after being swapped out for a while it can not always be placed in the same location. Memory management in the operating system should therefore be able to relocate programs in memory and handle memory references in the code of the program so that they always point to the right location in memory.


Protection

See Also: Memory protection


Processes should not be able to reference the memory for another process without permission. This is called Memory Protection , and prevents malicious or malfunctioning code in one program from interfering with the operation of other running programs.


Sharing

See Also: Shared memory


Even though the memory for different processes is protected from each other different processes should be able to share information and therefore access the same part of memory.


Logical organization


Programs are often organized in modules. Some of these modules could be shared between different programs, some are read only and some contain data that can be modified. The memory management is responsible for handling this logical organization that is different from the physical linear address space. One way to arrange this organization is Segmentation .


Physical organization


Memory is usually divided into fast Primary Storage and slow Secondary Storage . Memory management in the operating system handles moving information between these two levels of memory.


DOS MEMORY MANAGERS


In addition to standard memory management, the 640 KB barrier of MS-DOS and compatible systems led to the development of programs known as Memory Manager s when PC main memories started to be routinely larger than 640 KB in the late 1980s (see Conventional Memory ). These move portions of the operating system outside their normal locations in order to increase the amount of conventional or quasi-conventional memory available to other applications. Examples are EMM386 , which was part of the standard installation in DOS's later versions, and QEMM . These allowed use of memory above the 640 KB barrier, where memory was normally reserved for RAMs, and high and upper memory.


SEE ALSO



EXTERNAL LINKS