The four major causes of "virtual memory is not enough"

  

As we all know, if the computer lacks the random access memory (RAM) required to run programs or operations, Windows uses virtual memory to compensate. The memory plays a big role in the computer. All the running programs in the computer need to go through the memory to execute. If the total amount of memory allocated by the executed program exceeds the memory size, the memory consumption will be exhausted. In order to solve this problem, Windows uses virtual memory technology, which takes out part of the hard disk space to act as memory. When the memory is occupied, the computer will automatically call the hard disk to act as memory to ease the memory shortage. Then, there are "virtual memory is not enough" What are the possibilities?

1. Infected virus

Some viruses take up a lot of memory when they occur, causing the system to run out of memory. . Hurry up to anti-virus, upgrade the virus database, and then take anti-virus measures!

2, improper virtual memory settings

Improper virtual memory settings may also lead to memory shortages, in general, virtual The memory size is twice the size of the physical memory. If it is set too small, it will affect the normal operation of the system program. Re-adjust the virtual memory size. For example, WinXP, right click on “My Computer", select “Properties", then on the “Advanced” tab, click “Set>> Performance” ; button, switch to the "Advanced" tab, then click the "Change" button in the "Virtual Memory" box, then reset the virtual memory size, and restart the system after completion.

The virtual memory file is in the system disk by default. For example, the virtual memory file name of WinXP is “pagefile.sys”. If the remaining space of the system disk is too small, the virtual memory is insufficient, and the memory is insufficient. problem. The system disk must retain at least 300MB of free space, of course, this value depends on the actual needs of the user. Users should try not to install various application software on the system disk, to ensure that there is enough space for the virtual memory file to use, and it is better to put the virtual memory file into the non-system disk.

4, because the SYSTEM user permissions are not set properly

When the Windows system based on the NT kernel starts, the SYSTEM user creates a virtual memory file for the system. Some users use the NTFS file system for system security, but they cancel the SYSTEM user's permission to write ” and “ modify & rdquo; so that you cannot create virtual memory files for the system when running large programs. There will also be a problem of insufficient memory. The problem is solved very well, as long as the SYSTEM user is re-assigned to ” and “ modify & rdquo; permissions, but this is limited to users using the NTFS file system.

Simply put, in the windows operating system (Windows 2000/XP) pagefile.sys this file, it is the system page file (also known as the virtual memory file), its size depends on the open The number of programs and the minimum maximum value of the page file you originally set are constantly changing. Sometimes it may be only a few tens of M, and sometimes it is more than 600M.

Some large softwares use a large amount of hard disk space as a buffer because of the large memory consumption. The physical part of this hard disk space is

Copyright © Windows knowledge All Rights Reserved