Home >Common Problem >What memory is ram?
ram is random access memory, also called main memory. It is a memory memory that directly exchanges data with the CPU. It can be read and written at any time, and it is very fast. It is usually used as an operating system or other running programs. temporary data storage media.
#The operating environment of this article: Windows 7 system, DELL G3 computer.
Random Access Memory (English: Random Access Memory, abbreviation: RAM), also called main memory, is an internal memory that directly exchanges data with the CPU. It can be read and written at any time (except when refreshing), is very fast, and is often used as a temporary data storage medium for the operating system or other running programs.
When RAM is working, information can be written (stored) or read (retrieved) from any specified address at any time. The biggest difference between it and ROM is the volatility of data, that is, the stored data will be lost once the power is turned off. RAM is used in computers and digital systems to temporarily store programs, data, and intermediate results.
Features:
Random access
The so-called "random access" refers to the time required when the data in the memory is read or written. It does not matter where this information is located or where it is written. In contrast, when reading or writing information in a Sequential Access storage device, the time and location required are related. It is mainly used to store the operating system, various applications, data, etc.
When RAM is working normally, data can be read from RAM or written to RAM. Compared with ROM, RAM has the advantages of easy reading/writing and flexible use. It is especially suitable for situations where data is frequently and quickly changed.
Volatile
RAM cannot retain data when the power is turned off. If data needs to be saved, they must be written to a long-term storage device (such as a hard drive).
The working characteristic of RAM is that after power is turned on, data information can be accessed at any location at any time, and the internal information will disappear after power is turned off.
Sensitive to static electricity
Like other delicate integrated circuits, random access memory is very sensitive to electrostatic charges in the environment. Static electricity can interfere with the charge of the capacitors in the memory, causing data loss or even burning out the circuit. Therefore, before touching the random access memory, you should first touch the metal ground with your hand.
Access speed
Modern random access memory has almost the fastest writing and reading speeds among all access devices. Compared with other storage devices involving mechanical operation, the access latency is It also seems insignificant.
Requires refresh (regeneration)
Modern random access memory relies on capacitors to store data. A fully charged capacitor represents a 1 (binary), and an uncharged capacitor represents a 0. Since capacitors have leakage to some extent, data will gradually be lost over time if no special treatment is taken. Refreshing means periodically reading the status of the capacitor and then recharging the capacitor according to its original status to make up for the lost charge. The need to refresh explains exactly the volatile nature of random access memory.
(Learning video sharing: Programming video)
The above is the detailed content of What memory is ram?. For more information, please follow other related articles on the PHP Chinese website!