Memory management - Part 1 : Sharing

The OS provides 4 major functions to manage the virtual memory:

Memory management has 2 purposes :

Some challenges need to be considered while sharing memory :

To co-exist, memory is divided into categories:

To execute the program, the system follows some procedures:

The main challenges with the linker are about :

Relocation, one of the issues that might be encountered in memory sharing, is also a synonym of address binding: it’s mapping instructions and data into virtual memory.

There are 2 types of address binding:

When the address binding is of a static type, 2 moments are noteworthy:

On a dynamic type address binding, the mapping it’s done by hardware components on running time.

We can have 3 types of loading :

The memory loading can occur in 3 ways:

In the share memory process, fragmentation can occur. Fragmentation is unused memory that the memory management can’t allocate. You have 2 types of fragmentation:

A swapper has the responsibility of picking processes to swap in and out and manage the swap space.


Now read this

Intro to Database Systems : Basic Perspectives on Disk and Buffer Management

The Database Management System stores information at 3 levels of the memory hierarchy: Primary storage - main memory (and cache) : for currently used data, it is fast and usually volatile. Secondary storage - magnetic (“hard”) disk : for... Continue →