Both memory and storage are terms used to refer to internal storage space on a computer. Memory, usually referred...
to as random access memory (RAM), is where an application loads its data during processing by the CPU, while a storage drive is where data is stored for long- or short-term retention.
The storage drive was traditionally a hard disk drive (HDD), but solid-state drives (SSDs) made up of flash memory modules have become increasingly popular. System memory, or RAM, is faster than storage but usually more expensive on a per-megabyte basis than, say, a MB or gigabyte of disk storage space.
The line between memory and storage blurs paging, also known as swap space, where a portion of the storage drive is turned into memory for the computer to swap out applications and data from active memory to the drive. In this way, the storage drive becomes active memory, which, while slower than the RAM in the system, can be used to create larger virtual memory spaces for systems. Most systems will create a swap or paging space that is equal to two times the actual RAM space on a computer.
A computer system also includes read-only memory, which keeps files such as system firmware or BIOS programs that are only read in ROM. You can update the information in this kind of memory in a process called flashing, but otherwise, it can only be read, not written to, by the computer system. Other types of memory can act like storage drives for everything from MP3 and picture files to presentations and other data. These formats include USB flash drives, CompactFlash cards or memory sticks. They all serve basically the same purpose, storing data but not applications.
One important difference between memory and storage is the state of the data when the system is turned off. Most RAM is volatile, which means the data is lost when the system is turned off. Storage devices are usually nonvolatile, so they retain data when the system is turned off. Both the spinning magnetic disk in an HDD and the flash modules in an SSD are a type of nonvolatile memory and are therefore able to retain data even without power.
The future of memory and storage is fuzzy
The line between active memory and storage is getting closer to not just blurring, as in paging, but disappearing altogether. Manufacturers are working on technologies that promise to combine the speed of RAM with the ability of flash to be nonvolatile memory.
Among these technologies are ferroelectric RAM and magnetoresistive RAM, but the one closest to achieving the goal of being both active memory and storage is phase-change memory (PCM). Intel and Micron Technology Inc. developed a technology they call 3D XPoint based on PCM, and Intel has already placed storage devices on the market under its brand name, Optane. Intel Optane memory modules work with a small number of manufacturers and motherboards as cache memory to increase read and write performance to a storage device.
Dig Deeper on Primary storage devices
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.