Alan Freedman -- The Computer Language Company - Computer Desktop Encyclopedia
Computer Desktop Encyclopedia
Longest-Running Tech Reference on the Planet

A CDE Definition

You'll love The Computer Desktop Encyclopedia (CDE) for Tech Term of the Day (TTOD)

LOOK UP ANOTHER TERM


hibernate

A power-off mode that preserves the last state of the computer. Turning the computer on after hibernating eliminates booting the operating system and reloading all the applications and data.

When hibernate is activated, the contents of memory (RAM) are written to storage (hard disk, SSD) and the computer is turned off. When turned back on again, the previous memory state is read from storage, and all applications appear exactly as they did the moment hibernate was triggered.

Hibernate Vs. Sleep Mode
Hibernate is power off, whereas sleep mode is power on with the screen and hard disks turned off. In sleep mode, the RAM chips are constantly refreshed in order to retain their content, and the CPU is placed into a low-power state. Although restoring from hibernate is faster than a cold start, coming out of sleep is immediate. Turning the computer back on from either mode eliminates having to reload all applications and data.

Hybrid Modes
Some laptop computers invoke both modes automatically. When put into sleep mode by the user, the computer may automatically go into hibernate mode when the battery reaches a low level. An alternative hybrid mode activates hibernate when the computer enters sleep mode, but the computer is not turned off. If the battery runs out while in sleep mode, the contents of memory have already been saved. See memory.



memory

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 change because they are both permanent storage, not temporary as explained in the following paragraph.

The Original Definition
Starting in the 1960s, memory has meant the computer's temporary workspace, which for the past several decades has been a collection of dynamic RAM (DRAM) chips. A major resource in the computer, memory 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, 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 from four to 32GB (gigabytes). Storage goes from 120GB to 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" to differentiate it from the memory chips on other circuit boards in the machine. The program's instructions are copied into memory from storage or the network and then extracted from memory 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 the data be processed (calculated, compared and copied). The results are sent to a screen, printer, storage or the network.

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 memories and RAM.



A Checkerboard of Bytes
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, typically 512 bytes long, they 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 do they call it memory? Because the first memory did "remember," but today's RAM chips do not. Although there are memory chips that do hold their content permanently (ROMs, EEPROMs, flash memory, etc.), they are used for internal control purposes and data storage, not for processing. To make it even more confusing, it appears that the next generation of memory may again "remember" (see 3D XPoint and future memory chips). See storage vs. memory.

The main "remembering" memory in a computer system are the hard drives and solid state drives, which are often called "memory devices" (see storage vs. memory).

Memory Can Get Clobbered!
Memory is an important resource that cannot be wasted. It must be 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 and 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 works at all is a miracle.

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.



Personal Use Only

Before/After Your Search Term
BeforeAfter
Hi-Khibernation mode
hi-resHID
hi-res audiohidden
hi-rezhidden disk areas
hi-rez audiohidden dot file
Hi-Speedhidden extensions
hi-techhidden file
hi-tech tattoohidden file extensions
Hi-Visionhidden network
Hi8hidden storage

Terms By Topic
Click any of the following categories for a list of fundamental terms.
Computer Words You Gotta KnowSystem design
Job categoriesUnix/Linux
Interesting stuffPersonal computers
InternetIndustrial Automation/Process Control
Communications & networkingAssociations/Standards organizations
HistoryDesktop publishing
Audio/VideoGraphics
MainframesSecurity
ProgrammingHealthcare IT
System design