What memory is used to store the currently running application?
The memory used to store the currently running application is "memory". Memory, also called main memory, is an internal memory that exchanges data directly with the CPU; it can be read and written at any time (except when refreshing), and it is very fast. It is usually used as a temporary data storage medium for the operating system or other running programs.
#The operating environment of this article: windows10 system, thinkpad t480 computer.
Memory (Memory) is a memory device in a computer system, used to store programs and data. All information in the computer, including input raw data, computer programs, intermediate results and final results are stored in memory. It stores and retrieves information based on locations specified by the controller.
Memory can be divided into two categories:
-
One type is located on the host computer The internal memory (referred to as memory), also called main memory, is used to store the currently running program and the data used by the program. It is a temporary memory;
The main memory is the internal device that directly exchanges data with the CPU. memory. 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.
The other type is memory belonging to computer external devices, called external memory (referred to as external memory), also called auxiliary memory. External memory is a permanent memory that stores data and programs that are not used temporarily.
Memory Storage
Memory is an important component of the computer, also known as internal memory and main memory. It is used to temporarily store the CPU Computational data in the computer, as well as data exchanged with external storage such as hard disks. It is the bridge between external memory and the CPU. All programs in the computer run in the memory. The performance of the memory affects the overall performance of the computer. As long as the computer starts running, the operating system will transfer the data that needs to be calculated from the memory to the CPU for calculation. When the calculation is completed, the CPU will transmit the results.
The operation of memory determines the overall running speed of the computer.
The programs we usually use, such as: Windows operating system, typing software, game software, etc. They are generally installed on external storage such as hard disks, but their functions cannot be used only because they must be transferred into memory to run in order to truly use their functions.
When we usually enter a piece of text or play a game, we actually do it in memory. Just like in a study room, the bookshelves and bookcases where books are stored are equivalent to the external storage of the computer, and the desk where we work is equivalent to the memory.
Usually, we store large amounts of data that need to be saved permanently on external memory, and put some temporary or small amounts of data and programs on memory. Of course, the quality of the memory will directly affect the running speed of the computer.
Extended knowledge: There are many types of internal memory, mainly divided into RAM and ROM
1. Random access memory
Random access memory , RAM), also known as "random access memory", is an internal memory that directly exchanges data with the CPU, also called main memory (memory). It can be read and written at any time, is very fast, and is often used as a temporary data storage medium for the operating system or other running programs.
Random memory features:
Random access. The so-called "random access" means that when data in the memory is read or written, the time required has nothing to do with the location of the information or the location 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.
Volatile. RAM cannot retain data when power is turned off. If data needs to be saved, they must be written to SRAM on a long-term storage device (such as a hard disk). Compared with RAM and ROM, the biggest difference between the two is that the data stored in RAM will disappear automatically after the power is turned off, while ROM will not disappear automatically and can be saved for a long time without power.
Sensitive to static electricity. Like other delicate integrated circuits, random access memory is very sensitive to environmental electrostatic charges. 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 the fastest write and read speeds of almost any access device, and the access latency of laptop memory is negligible compared to other storage devices that involve mechanical operations.
Needs 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.
2. Read-only memory
Read-only memory (English: Read-Only Memory, abbreviation: ROM). The data stored in ROM is generally written in advance before being installed into the whole machine. It can only be read out during the operation of the whole machine, and cannot be rewritten quickly and conveniently like random access memory. The data stored in ROM is stable and will not change after power failure; its structure is relatively simple and easy to read, so it is often used to store various fixed programs and data.
Characteristics of read-only memory:
The characteristic of read-only memory is that it can only read information and cannot write information at will. A basic input is solidified in the ROM on the motherboard. /output system, called BIOS (Basic Input Output System). Its main function is to complete the power-on self-test of the system, initialization of each functional module in the system, basic input/output driver of the system and boot operating system.
Related recommendations: "Programming Learning Course"
The above is the detailed content of What memory is used to store the currently running application?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The fastest access memory is "internal memory"; the memory in the computer adopts a hierarchical structure, arranged in order of speed, including internal memory, cache memory, the computer's main memory, and large-capacity disks. The memory is generally divided into RAM Random Access Memory and ROM Read Only Memory.

Can be accessed directly. Internal memory, also called memory, is the bridge between external memory and the CPU. All programs in the computer run in memory. The function of memory is to temporarily store calculation data in the CPU and data exchanged with external memories such as hard disks. As long as the computer is running, the operating system will transfer the data that needs to be calculated from the memory to the CPU for calculation; when the calculation is completed, the CPU will transmit the results. The operation of the memory also determines the stable operation of the computer.

The basis for a computer to have a strong memory capability is a storage device with sufficient capacity. Memory can be divided into internal memory and external memory. They enable computers to have powerful memory functions and can store large amounts of information. This information includes not only various types of data information, but also programs for processing these data.

The memory system refers to a system in a computer consisting of various storage devices that store programs and data, control components, and devices (hardware) and algorithms (software) that manage information scheduling. The storage system provides the ability to write and read information (programs and data) required for computer work, and realizes the computer's information memory function. The hierarchical structure of the storage system can be divided into five levels: register group, cache cache, main memory, virtual memory and external memory.

The USB flash drive was invented in China, and Netac is the global inventor of the USB flash drive. In July 2002, Netac's "Fast Lightning External Storage Method and Device for Data Processing Systems" was officially authorized by the State Intellectual Property Office. This patent filled the 20-year gap in invention patents in the field of computer storage in China; 2004 On December 7, 2019, Netac received the basic invention patent for flash disks officially authorized by the U.S. National Patent Office.

Cache is called cache memory. It is a high-speed small-capacity memory between the central processing unit and the main memory. It is generally composed of high-speed SRAM. This kind of local memory is oriented to the CPU. It is introduced to reduce or eliminate the gap between the CPU and the memory. The impact of the speed difference between them on system performance. Cache capacity is small but fast, memory speed is low but capacity is large. By optimizing the scheduling algorithm, the performance of the system will be greatly improved.

Memory is a memory device used to store programs and data, as well as intermediate results and final results of operations. The difference between internal memory and external memory: 1. The memory is a temporary storage area when executing the program, and all data will be lost after a power failure; the external memory is used to store original data and operation results, and the data will not be lost after a power failure; 2. Memory is characterized by fast access speed, but small capacity and expensive price, while external memory is characterized by large capacity, low price, but slow access speed; 3. Memory is used to store programs and data that the computer needs to use immediately. Memory is used to store programs and data that are not in use temporarily.

The characteristic of ROM memory is that it can only read data from the memory, but cannot write information into it. The data will still exist after the computer is powered off. ROM read-only memory can only read information but cannot write information. Usually a basic input/output system is solidified in the ROM of the computer motherboard, called BIOS (Basic Input Output System); its main function is to complete the automatic power-on of the system. Inspection, initialization of each functional module in the system, basic input/output driver of the system and booting the operating system.