Current location - Health Preservation Learning Network - Healthy weight loss - What should I do when I run out of virtual memory while playing games?
What should I do when I run out of virtual memory while playing games?
Several solutions to the shortage of virtual memory in Windows Q;

I often hear people say virtual memory. What is virtual memory? Why does my computer always prompt that the virtual memory is too low after a period of use? Is it only by reinstalling the operating system that the problem can be solved?

A: Windows operating system uses virtual memory to dynamically manage runtime swap files. In order to provide more memory capacity than the actual physical memory, the Windows operating system occupies a part of the hard disk as virtual memory. When the CPU needs it, it will read the data in the memory first. When the running program capacity exceeds the memory capacity, the Windows operating system will write the data that needs temporary storage to the hard disk. Therefore, the memory size of the computer is equal to the actual physical memory capacity plus the size of the "paging file" (that is, the swap file). If necessary, the paging file will use all available space on the hard disk.

If your system's virtual memory is too low, you can right-click My Computer and select Properties → Advanced → Performance Settings → Advanced → Open Virtual Memory Settings. You can reset the maximum and minimum values, change the storage location of virtual memory according to the double value of 1.5~2 of physical memory, and set it to other large-capacity hard disk partitions, so that the virtual memory of the system has enough space.

There are three ways to solve the shortage of virtual memory:

1. The user-defined virtual content (automatic by default) is too small, so it can be resized.

2. The spare capacity of the disk where the system is located (usually disk C) is too small, but the running program is very large, and the virtual memory is generally created in the system disk directory by default. We can usually delete some unused programs, move useful files such as documents, pictures and downloaded materials to other disks, clean up the "recycle bin" to keep the space of the system disk above 1GB, or define virtual memory to other drive letters with more free space.

3. The spare capacity of the system disk is not small, but frequent installation and downloading of software, repeated deletion, resulting in excessive file fragmentation, is also one of the reasons for the lack of virtual memory. Virtual memory requires continuous space. Although the spare capacity of the disk is large, there is no continuous space, so it is impossible to establish a virtual memory area. You can use Disk Utility to defragment.

Nine reasons and solutions of insufficient virtual memory: the system prompts nine reasons and solutions of "insufficient memory".

First of all, the clipboard takes up too much memory.

In fact, the clipboard is a temporary area in memory. When you use the "Copy" or "Cut" command in a program, Windows will temporarily store the copied or cut content and its format on the clipboard for "pasting". If the picture is stored in the current clipboard, the clipboard will take up a lot of memory. At this point, please follow the following steps to clear the contents of the clipboard and release the memory resources it occupies:

1. Click Start, point to programs or all programs, point to attachments, point to system tools, and then click Clipboard Viewer to open the Clipboard Viewer window. 2. On the Edit menu, click Delete. 3. Close the Clipboard Viewer window.

In order to distinguish it from the multiple clipboards provided by Microsoft Office programs, the clipboard mentioned above is usually called the system clipboard. If you are using a Microsoft of Office program and use its multi-clipboard function, you should clear the items on the Office clipboard by clicking Clear All or Clear Clipboard on the office clipboard task pane (OfficeXP) or toolbar (Office2000). When you empty the Office clipboard, the system clipboard will also be emptied.

Second, there are too many open procedures.

If there are too many documents open or too many programs running at the same time, there is not enough memory to run other programs. At this time, for multi-document interface (MDl) programs, such as Word, Excel and so on. , please close all documents except the current document, and exit the programs that are not currently used, and then you may be able to continue the task interrupted by "insufficient memory".

Third, restart the computer.

If you just quit the program without restarting the computer, the program may not be able to return memory resources to the system. Please restart your computer to free up system resources, and then run the program again or perform the interrupted task.

Fourth, there are too many programs that run automatically.

If there are too many programs that run automatically when you start Windows, even if you restart the computer, there is not enough memory to run other programs.

(a) Determine whether too many programs are set to run automatically.

1. Click Start, and then click Run.

2. In the open box, type Msconfig, and then click OK to open the System Configuration Utility window.

3. Click the General tab, select the selective startup check box, and clear the process Win.ini file check box and the load startup group project check box.

4. Click OK, and when prompted to restart the computer, click Yes.

After restarting the computer, if the problem of insufficient memory has been solved, you can configure the computer to start without opening any programs.

(2) Configure the computer not to automatically open any programs.

1. Restore the changes made in Msconfig by clicking the General tab in the System Configuration Utility window, selecting Normal Start, clicking the OK button, and then restarting the computer.

2. Delete all shortcuts in the startup folder.

① Click Start, point to Settings, and then click taskbar and start menu to open the taskbar properties dialog box.

② Click the Start Menu tab, click Customize, and then click Delete.

③ Click the plus sign next to the "Startup" folder to display the list of programs set to run automatically. If there is no plus sign "+"next to the startup folder, there is no program set to run automatically. Click the Close button to terminate this process.

④ Click each shortcut in the startup folder, and then click the Delete button. This action will delete the shortcut from the Start menu, but will not delete the corresponding program from the hard disk. Repeat this step for each shortcut in the startup folder.

⑤ Click the Close button.

⑥ Click "OK" button.

3. Disable all programs loaded from the Win.ini file.

① As mentioned above, open the system configuration utility window.

② Click the Win.ini tab, double-click [windows], and then clear the check boxes "Load=" and "Run=".

③ Click OK, and when prompted to restart the computer, click Yes.

Fifth, let Windows manage virtual memory settings.

If Windows is not set to manage virtual memory or disable virtual memory, your computer may not work properly, or you may receive a message of "Out of memory", or the same error message appears when you run a program.

1. Click Start, click Settings, click Control Panel, and then double-click System.

2. In the system properties dialog box, click the Performance tab, and then click the Virtual Memory button.

3. Select the option "Let Windows manage virtual memory settings-(recommended)" to set the amount of hard disk space available as virtual memory in the computer to the default value. At this time, the virtual memory paging "win386.swp" can be dynamically reduced and enlarged according to the actual memory usage, with a minimum capacity of 0 and a maximum capacity of all available space on the hard disk.

4. Click the OK button.

Six, increase the available disk space

Because Windows uses the hard disk space of virtual memory paging file format to simulate RAM (), although it has been set to let Windows manage virtual memory, when the drive where the virtual memory paging file is located (the default is the hard disk partition where the Windows system is located) is out of space, there will still be an "out of memory" error. At this point, do one or more of the following to increase the free space on the drive where the paging file of Windows virtual memory is located:

1. Right-click the recycle bin on the desktop, and then click Empty Recycle Bin to empty the recycle bin.

2. Delete the temporary files from the disk by opening Windows Explorer or My Computer window, right-clicking the disk to free space, and then clicking Properties. On the General tab, click the Disk Cleanup button and select the check box in front of the unnecessary files to be deleted (as shown in Figure 3). You can read the description of each file type in the area below the list.

3. Delete expired files or archive files from the disk.

4. Delete all the files that have never been used.

Seven, the program file was destroyed.

If only one program is used, the system prompts that the memory is insufficient and other programs can run normally, then the possible reason is that the program file is damaged, resulting in memory problems. However, Windows does not explicitly indicate that the program is damaged, so please try to remove and reinstall the program, and then run the program again. If the system no longer prompts that there is not enough memory, then the original program file is indeed damaged.

Eight, the use of memory optimization software

There are many memory optimization softwares, such as RAM Idle and Memo Kit. These softwares can be set to automatically empty the clipboard, release the unreleased memory of closed programs, and reorganize Win386.swp files. , thus saving you the trouble of manual operation and achieving the purpose of automatically releasing memory. Give it a try!

Nine, killing viruses

Computer virus infection in the system is also the chief culprit leading to insufficient memory. When there is an error of "insufficient memory" in the system, please use the latest antivirus software to kill virus, or solve the problem of "insufficient memory" after clearing the computer virus.