Category: 

What Is a Memory Map?

Article Details
  • Written By: T.S. Adams
  • Edited By: M. C. Hughes
  • Last Modified Date: 03 September 2014
  • Copyright Protected:
    2003-2014
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
Over 33% of the 800 plant species on the island of Socotra off the coast of Yemen are not found anywhere else on Earth.  more...

September 19 ,  1957 :  The US conducted the world's first underground nuclear explosion in Nevada.  more...

Although it might seem like it, the memory on a computer is not like a gigantic bin into which data can be dumped. Instead of a bin, computer memory is more like a filing cabinet. The arrangement of the files on a computer's memory is preserved in a virtual file known as the memory map. The memory map contains information about each "drawer" of the computer's memory. During operations, the operating system uses the memory map to learn how to access and utilize the amount of available memory on the computer system.

The memory map contains a full readout of each available slot in system memory. A simple way to visualize this is as a grid layout. Each file in the computer's memory has a specific address, coordinates that indicate its location. For each memory coordinate or address on the map, the memory map lists whether the memory is available or whether some other program has reserved it for future use. This keeps all memory information on the computer distinct and separate for each program, preventing memory errors and other problems.

Ad

Without a working map, the integrity of the information stored in memory would be in constant jeopardy. Imagine that a financial program and a video game were running simultaneously on a single computer. The financial program stores a bank account balance in address one in memory. Without a memory map to guide the process, that information could easily be overwritten by the video game program when it stores a high score. Now, instead of a balanced bank account, the computer is adjusting financial data based on video game performance. Even worse, without a memory map to point out the difference, the system will have a greatly-reduced chance of catching the error.

The functionality of a map depends on the way it is used. During the computer's start-up process, the map informs the operating system of the total amount of memory on the system, and makes the memory map available to the operating system, providing a basic layout. Memory maps are also critical to virtual memory and debugging programs, though. In virtual memory, the map provides an overlay between the virtual memory and the actual physical addresses, as a translator might convert a map from miles to kilometers. In debugging, the map is used to check memory addresses against stored data, ensuring that everything is in its proper place.

Ad

More from Wisegeek

You might also Like

Discuss this Article

anon355454
Post 1

Post your comments

Post Anonymously

Login

username
password
forgot password?

Register

username
password
confirm
email