LanguageEnglishDeutsch
Industrial electronics

volatile memory

Computer memory (such as RAM) that requires a constant electrical charge to maintain its contents.

volatile memory: data that vanishes when power cuts off

Volatile memory is any storage medium that loses its entire contents the instant electrical power is removed. The most common example is dynamic random-access memory (DRAM), which holds data in tiny capacitors that discharge within milliseconds once current stops flowing. This contrasts sharply with non-volatile storage like hard drives, solid-state drives, or flash memory, which retain data indefinitely regardless of power state.

In industrial systems, volatile memory serves as the working space where a processor runs calculations, holds active sensor readings, manages I/O buffers, and executes instructions from firmware. A typical industrial controller might have between 256 megabytes and several gigabytes of DRAM. Because volatile memory is faster than storage media, processors use it as a high-speed cache where data access occurs in nanoseconds rather than microseconds or milliseconds. This speed advantage is why volatile memory remains essential even though it is temporary by design.

Power loss and data integrity

The defining weakness of volatile memory is its vulnerability to power disruption. An unplanned shutdown, brownout, or even a brief voltage sag will corrupt or erase whatever is held in RAM at that moment. Industrial environments respond to this risk in several ways: uninterruptible power supplies (UPS) bridge gaps during outages; battery-backed memory modules preserve critical data during shutdown; and checkpoints written to non-volatile storage allow systems to resume from known states. Many industrial controllers also maintain a small amount of non-volatile RAM (NVRAM) powered by an onboard battery for essential configuration and status information.

Volatile memory is also called dynamic memory because it requires constant refreshing. A capacitor charge decays naturally, so the memory controller continuously rewrites each bit thousands of times per second to keep data intact. This refresh overhead consumes power and prevents truly instant access, but it is the trade-off for high density and low cost. Static RAM (SRAM) exists as an alternative, using transistor pairs that hold state without refresh, but SRAM is significantly more expensive, larger, and power-hungry per bit, so it appears only in small quantities where speed is critical, such as CPU caches.

The term volatile comes from chemistry and physics, where it describes substances that readily evaporate or change state. In memory context, the metaphor captures how data readily evaporates when power is withdrawn. Understanding this distinction is crucial when designing fault-tolerant systems, because relying on volatile memory alone for persistent state is a design error, not a limitation to be worked around temporarily.

More from Industrial electronics

See all

Get the Word of the Day

One industrial term every day, with the trade it belongs to and why it is worth knowing. No advertising.