Preview

memory management

Satisfactory Essays
Open Document
Open Document
500 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
memory management
Memory Management
Memory management can become very complex in modern day computers as with the requirements for the management of the memory. There are four categories that must be satisfied within memory management which are address mapping and relocation, protection and sharing, application organization, and two-level memory organization. Had one of these categories not been satisfied through memory management, then it is a failure and could cause major problems in terms of an operating system. The first category that must be satisfied is address mapping and relocation. The operating system has a few requirements in order to run a process that has been loaded into the main memory such as where the process control information, as well as call stacks and the coding itself. Also the instructions in the coding may have a reference to memory in different places. The reference is the logical address and relies upon the processor and operating systems to locate the actual physical address. Often as memory is moved from the main memory to say the virtual memory, the address will change as it is brought back into the main memory as its previous location has already been taken by another program. Protection and sharing is the next key point to memory management. The processor controls the process making it very difficult for the operating system to have any control over the process. For this reason the protection will share access in the main memory, as that makes it possible for multiple processes to be using the same library .

Memory organization allows for modules and coding to be broken down into segments allowing the segments to have their own location in the memory. This allows for segments to be used individually and even place only the needed parts because everything may not fit into the ram itself. This paging falls in line with virtual memory that allows for segments to be moved into the virtual memory. Two level memory organization

You May Also Find These Documents Helpful

  • Good Essays

    Some OS routines directly support application programs as they run and thus must be resident. Other transient routines are stored on disk and read into memory only when needed. Fixed-length partitions can also be used to allocate the set amount of memory that a particular program needs to run. Under dynamic memory management, the transient area is treated as a pool of unstructured free space. When the system decides to load a particular program, a region of memory just sufficient to hold the program is allocated from the pool. Using segmentation, programs are divided into independently addressed segments and stored in noncontiguous memory. Paging breaks a program into fixed-length pages.…

    • 7085 Words
    • 29 Pages
    Good Essays
  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    1. Why is virtual memory addresses used for applications? – So it can have its own address space on the memory.…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    RAM is the random access memory and it is volatile. It holds program instructions and data. The CPU can find…

    • 204 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    POS355 Week 1 Individual

    • 574 Words
    • 2 Pages

    There are several items that are pertinent to memory management such as, basic hardware, the binding of symbolic memory addresses to definite physical addresses and the difference between logical and physical addresses. The most important task that memory management executes is the distribution and collection of memory…

    • 574 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    BTEC ICT Unit 2 P1

    • 944 Words
    • 4 Pages

    There are two types of memory which we need and use on our computers one of them is RAM and the other one is cache.…

    • 944 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Random-access-memory (RAM) is a very important specification of the computer. By ensuring you have enough RAM, the faster your system processes, you can store more data, and allow more programs to run at the same time. As the OS allows the different task to complete for the processor, the RAM is used as temp storage, when the processor no longer needs them the OS clears it. Virtual memory is the hard drive space borrowed to use if there isn’t enough…

    • 580 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Week 5 Pos 355

    • 2010 Words
    • 9 Pages

    Memory management is an important part of an operating. The UNIX/Linux OS use numerous intricate algorithms for memory management which will permit the system to…

    • 2010 Words
    • 9 Pages
    Better Essays
  • Good Essays

    The operating systems job is managing the memory. The operating system is in charge of bringing this process into main memory (Stallings, 2012). However the processor must deal with references within the program. Branch instructions include an address to reference the order to be executed next. Data reference instructions include the address of the byte or word of data referenced. The processor hardware and operating system software must be able to translate the memory references found in the code of the program into actual physical memory addresses, reflecting the current location of the program in main memory. (Stallings, 2012).…

    • 573 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Java

    • 5076 Words
    • 21 Pages

    Explanation: D) The program is first loaded from secondary memory into main memory before it is executed so that the processor is not slowed down by reading each instruction. This idea of executing programs stored in memory is called the Stored Program Computer and was pioneered by John Von Neumann in the 1940s.…

    • 5076 Words
    • 21 Pages
    Good Essays
  • Better Essays

    IT 600 Module One Lecture

    • 1256 Words
    • 5 Pages

    that every process gets the memory it needs, and that no application can access memory in…

    • 1256 Words
    • 5 Pages
    Better Essays
  • Good Essays

    For any operating system to function properly, one of the vital tasks it must be able to do is manage memory. When a program runs on a computer, it first must be loaded into memory before it can execute. There are five different requirements memory management must satisfy in order to execute the program so it runs without errors or corruption. These requirements are relocation, protection, sharing, logical organization, and physical organization.…

    • 730 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Chapter 1 study guide

    • 672 Words
    • 3 Pages

    To identify the location in RAM, RAM uses an address for each unique memory location where a byte can be stored…

    • 672 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Chapter6Memory

    • 267 Words
    • 1 Page

    There are several different models of how memory works, all of them involve the same three processes: getting the information into the memory system, storing it there, and getting it back out.…

    • 267 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    RAM memory – This holds recently accessed data so that the CPU can have quick access to it. RAM data can be changed at any time. It is read and write.…

    • 843 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Assignment 1,Section I

    • 326 Words
    • 2 Pages

    Several methods have been devised that increase the effectiveness of 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 paging or swapping to secondary storage. The quality of the virtual memory manager can have an extensive effect on overall system performanc…

    • 326 Words
    • 2 Pages
    Satisfactory Essays