main storage

Also found in: Dictionary, Thesaurus, Medical, Legal, Financial, Wikipedia.

main storage

[′mān ′stȯr·ij]
(computer science)
A digital computer's principal working storage, from which instructions can be executed or operands fetched for data manipulation. Also known as main memory.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.


Increasingly, the term memory refers to permanent "non-volatile" storage and not the original meaning. The "flash memory" chips used in USB drives and "memory" cards caused this terminology change because they are permanent storage, not temporary as explained in the following paragraph.

The Original Definition
Starting in the 1960s, memory referred to the computer's temporary workspace, and for the past several decades that means dynamic RAM (DRAM) chips. A major resource in the computer, memory (RAM) determines the size and number of programs that can be run at the same time, as well as the amount of data that can be processed instantly.

To always be clear when communicating, avoid using the term memory, and instead use "RAM" for temporary memory and "storage" for permanent memory. RAM capacity in today's computing devices ranges approximately from 4GB to 32GB (gigabytes). Storage capacities are from 32GB to several terabytes (TB). See dynamic RAM, storage vs. memory, USB drive, memory card and flash memory.

It All Takes Place in Memory
All program execution and data processing takes place in memory, often called "main memory." The program's instructions are copied into memory from storage or the network and then extracted into the CPU's control unit circuit for analysis and execution. The instructions direct the computer or mobile device to input, process and output data.

Calculate, Compare and Copy
As data are entered into memory, the previous contents of that space are lost. Only in memory can data be processed (calculated, compared and copied). The results are copied from memory to a screen, printer, storage device or the network. See 3 C's.

Memory Is an Electronic Checkerboard
Think of a checkerboard with each square holding one byte of data or instruction. Each square (each byte) has a separate address like a post office box that can be manipulated independently. As a result, the computer can break apart programs into instructions for execution and data records into fields for processing. See byte addressable, early memory and RAM.

A Checkerboard of Bytes
Once in memory (RAM), the contents of any single byte or group of bytes can be calculated, compared and copied independently. This is how fields are put together to form records and broken apart when read back in. In storage (hard drive, solid state drive, USB drive, etc.), data reside in sectors at least 512 bytes long, which are the smallest unit that can be read from or written to the drive.

Computer Memory Does Not Remember

Oddly enough, memory does not "remember" anything when the power is turned off. So why call it memory? Because the first memory did "remember," but today's RAM chips do not. However, there are memory chips for special purposes that do hold their content, but they are not used as the main memory in computers, phones and tablets. See non-volatile memory.

What we think of as "remembering" memory in a computer are the hard drives and solid state drives (SSDs). See storage vs. memory.

Memory Can Get Clobbered!
Memory is an important resource that should not be wasted. It is allocated by the operating system as well as by applications and then released when no longer needed. Errant programs can grab memory and not let go, which results in less memory available to other programs. Restarting the computer gives memory a clean slate, which is why rebooting the computer clears up so many problems with applications.

In addition, if the operating system has bugs, a malfunctioning application can write into the same memory used by another program, causing unspecified behavior such as the system locking up. If one were able to look into and watch how fast data and instructions are written into and out of memory in the course of a single second, it would become obvious that it is a miracle it works at all.

Other terms for the computer's main memory are RAM, primary storage and read/write memory. Earlier terms were core and core storage. See dynamic RAM, static RAM and memory module.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
In Day Packs, the Three Rivers Day Pack features one large main storage compartment with a secondary compartment.
The new mSATA SSDs will be available in 256GB, 128GB and 64GB densities as main storage devices, as well as at 32GB for caching.
This helps you to easily search for and retrieve it, while keeping your main storage system clear of older, rarely used files.
A special feature included the supply of 25 metre long probes to prevent freezing of bedrock under the four main storage tanks at the Melkoya LNG facility.
In its 50th anniversary year, Scientific & Chemical (SciChem) has embarked on a substantial investment programme at its headquarters and main storage and distribution centre in Bilston in the West Midlands.
The company's main storage for imported tobacco products had been transferred to Finland Post's storage facilities at the beginning of April 2004, according to the company.
If the main storage device should fail, data on the secondary storage device can immediately be promoted to primary status and brought online.
There is a new digital hydrometer on the way to the fleet that NAVSEA and GNB have tested and approved for taking specific gravity's on the submarine main storage battery.