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

Zend Studio 13.0.1
Powerful PHP integrated development environment

SublimeText3 Linux new version
SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software
