Memory Managment Operating Systems

Authors Avatar

Ricki Lambert

Operating systems

Assignment 2

Memory Management

Introduction

Memory management is a control of the operating system. Memory management is the most vital part of keeping computers resources in order. Without this kind of management the computer would experience severe problems when multiple threads are to be run, and when processes are completed and memory is to be regained. The management system is therefore capable of allocating and de-allocating memory when needed by the system. When a system has too little memory it will become unstable and therefore almost unusable.  The memory managing sector of the operating system will also allocate an orderly fashion for the executable files to be dealt with, this then allows for the memory management system to determine what is in the memory for optimum performance and C.P.U utilization. It must be constantly active searching through its system and deciding what parts are being used by whom and what threads and applications need to be moved in and out of the system. When the memory becomes to full there must be an application or process to free some of it.

A list can be seen below of the main purposes of the memory management sector.

  1. Relocation of memory
  2. Allocation of memory
  3. Protection of memory
  4. Sharing of memory
  5. Logical organisation of memory
  6. Physical organisation of memory

Address Binding

Address binding is the process in which the memory management can link two different types of storage of data so a programme can be compiled or executed. To start, an item can have two differing forms of location storage. Firstly a physical address, this is the direct location on which a file is stored on to a hard disk drive or a external storage device, this is also known as a root directory. Secondly, the logical address is the sector/location in which partial files are stored in the memory. This then allows the computer to perform a logical to physical address conversion and retrieves data from the physical location on the storage device.

Join now!

Address binding can occur when;

  • Its compiled
  • When loaded – when a programme is first executed it works out the position in the memory code to find the correct physical address.
  • At run time – If a process is moved in the memory during execution then the address will need to be modified so the link can remain active.

The mapping of logical to physical addresses is done at run time (run time is the time when code is running therefore cannot be altered). This process is controlled by the memory management unit, also know as the ...

This is a preview of the whole essay

Here's what a teacher thought of this essay

Avatar

*** A good effort at a quite technical topic but some parts are not clear