Virtual memory is a computer system memory management technology. It makes the application think that it has contiguous memory available, that is, a contiguous and complete address space. In fact, it is usually divided into multiple physical memory fragments, and some are temporarily stored on external disk storage for data exchange when needed.
What is virtual memory?
Virtual memory is a technology for computer system memory management. It makes the application think that it has contiguous available memory (a contiguous complete address space), but in fact, it is usually divided into multiple physical memory fragments, and some are temporarily stored on external disk storage when needed. data exchange. Currently, most operating systems use virtual memory, such as the "virtual memory" of the Windows family; the "swap space" of Linux, etc.
1. Virtual memory is also called virtual memory (VirtualMemory).
All programs running in the computer need to be executed through memory. If the executed program takes up a large amount of memory, it will cause the memory to be exhausted. To solve this problem, Windows uses virtual memory technology, which allocates part of the hard disk space for memory use.
When the memory is exhausted, the computer will automatically call the hard disk to act as memory to relieve memory tension. If the computer does not have enough random access memory (RAM) to run a program or operate, Windows will use virtual memory to compensate. It combines your computer's RAM and temporary space on your hard drive.
When RAM runs slowly, it moves data from RAM to a space called the "paging file". Moving data into a paging file frees up RAM so work can be done. Generally speaking, the larger the RAM capacity of the computer, the faster the program will run.
If your computer's speed is slowing down due to a lack of free RAM space, you can try to compensate by increasing virtual memory. However, the computer reads data from RAM faster than from the hard disk, so expanding the RAM capacity (by adding memory modules) is the best choice.
2. Virtual memory is a part of the hard disk space used by Windows as memory.
Virtual memory is actually a huge file on the hard disk. The file name is PageFile.Sys, which cannot be seen under normal circumstances. You must turn off the explorer's protection function for system files to see this file. Virtual memory is sometimes called the "page file" from the file name of this file.
The role of virtual memory
Memory plays a great role in the computer. All programs running in the computer need to be executed through the memory. If the programs being executed are large or many, memory will be exhausted. In order to solve this problem, WINDOWS uses virtual memory technology, which uses a part of the hard disk space as memory. This part of the space is called virtual memory. The form of virtual memory on the hard disk is the page file PAGEFILE.SYS.
The above is the detailed content of What is virtual memory. 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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

Dreamweaver Mac version
Visual web development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function