Windows 7 system prompts insufficient memory to check the virtual memory is normal.

  
Virtual memory is a technology for computer system memory management. It makes the application thinks it has available contiguous memory, in fact, it is usually separated into a plurality of pieces of physical memory, and temporarily stores part of data exchange when required on an external disk storage. The computer lacks the random access memory required to run the program or operation, then Windows uses virtual memory to compensate, so virtual memory is very critical to the operation of the computer. This example describes how to analyze the normal system when the virtual memory setting is normal. Prompt & ldquo; virtual memory shortage & rdquo; solution.
Operation steps:
There are two ways to set virtual memory.
1. standard setting
(1) Right-click on the computer --- properties;

(2) to select & ldquo; Advanced System Settings & rdquo; & rarr; & ldquo; performance & rdquo; & rarr; & ldquo; Settings & rdquo; & rarr; & ldquo; Superior & rdquo; & rarr; & ldquo; virtual memory & rdquo ;;

(3) to select & ldquo; change & rdquo; & rarr; & ldquo; automatic management canceled & rdquo; & rarr; & ldquo; custom size & rdquo ; & rarr; & ldquo; disposed & rdquo; & rarr; & ldquo; determining & rdquo ;;

size of virtual memory itself is provided depending on the machine configuration, it recommended to set the physical memory (memory + memory) * 2 of the best .
2. Precise settings
(1) According to the performance monitor settings
A, right click & ldquo; computer & rdquo;, select & ldquo; computer management & rdquo;.
B, in & ldquo; Computers & rdquo; Expand: Performance & rdquo; & rarr; & ldquo; Monitoring Tools & rdquo; & rarr; & ldquo; performance counters & rdquo; add a memory counters to know the peak memory usage, and then based on this amount setting Virtual memory value.

Setting virtual memory can alleviate the pressure of some physical memory. If the effect is not improved, we need to increase the physical memory.
(2) According to the task manager settings
A, first right click on the task bar to select --- task manager;

B, click to view --- select the column; Br>
C. In the "Select Process Page Column" window, find the red box in the picture, and select "Memory---Submit Size";

D Click OK, after the modification is successful, call the task manager again, where the “submit size” is the virtual memory referred to in Windows 7.

From the above figure, we can see which software or process occupies the size of virtual memory. In operation, we can end some unnecessary programs to release virtual memory.
The virtual memory is too low. There are three solutions:
1. The capacity of the custom virtual content (the system default is automatic) is too small and can be resized.
2. The disk where the system is located (usually the C drive) is too small and the running program is very large, and the virtual memory is usually created by default in the system disk directory. We can usually delete some unused programs. And move the useful files such as document pictures and downloaded materials to other disks, and clean up “ recycle bins, so that the system disk keeps (memory + memory) *2GB or more space, or define virtual memory to other free space More than the drive letter.
3. The capacity of the system disk is not small, but because of the frequent installation and download of software, and repeated deletions resulting in too many file fragments, it is also easy to cause virtual memory shortage, virtual memory needs a continuous space. Although the disk has a large vacant capacity, there is no contiguous space and no virtual memory area can be created. You can use the disk utility to defragment.
Windows 7 system prompts "lack of memory" reasons and solutions
not only Windows 7 but also Windows Vista /Windows 2000 /XP /2003, with 2GB or more of memory, sometimes encountered Windows 7 prompts "Insufficient memory" warning, or the program window cannot be opened without prompting, or the program window is open but incomplete, such as missing menus, buttons, etc., as shown below:


After such tips, then how should we solve it? Note: There are risks in modifying the registry. Please be cautious. It is best to back up the registry before modification to recover from system failure.
1. Modify the default user handle and the number of GDI handles to a larger value.
(1) In the search box of the Windows 7 start menu, type “regedit”, press Enter;
Registry editing will trigger UAC and pop up the prompt window, click to confirm to continue;

(2) Locate the following registry branch: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NT CurrentVersionWindows
In the right window you can see the registry key named "GDIProcessHandleQuota" and "USERProcessHandleQuota";

GDIProcessHandleQuota item set GDI handle Quantity, the default value is 2710 (hexadecimal) /10000 (decimal), the allowable range of this value is 256 ~ 16384, which is adjusted to be greater than the default value of 10000. If your system is configured with 2G or more, you can set it to the maximum allowed value of 16384 (decimal);
USERProcessHandleQuota item sets the number of user handles, the default value is also 2710 (hexadecimal) /10000 (decimal), the allowable range of this value is 200 ~ 18000, and it is adjusted to more values. Similarly, for systems with 2GB or more of physical memory, it is possible to set the number of user handles directly to the upper limit of 18000 (decimal);
It is important to emphasize that when modifying the value of "GDIProcessHandleQuota” and “USERProcessHandleQuota” Do not exceed the upper limit it accepts, otherwise it will cause Windows to not work or run unstable. On the other hand, even if your adjustment exceeds its allowed upper limit, if you find that Windows is unstable after the modification, you need to lower the corresponding value or restore the default value.
2. Increase the size of the page file (virtual memory)
When the computer runs out of memory for the first time, Windows will automatically try to increase the size of the page file, but you can also manually increase it to the amount of RAM installed. The maximum value. Although increasing the size of the page file can help prevent out of memory problems, it can also make your program run slower. Because the computer reads information from RAM faster than it reads from the hard disk (the hard disk on which the page file is located), having the program use too much virtual memory slows it down.
3. Install more RAM
If you see signs of running out of memory or if Windows warns you about insufficient memory, check the information that came with your computer or contact your computer manufacturer to determine which computer is compatible with RAM. Type and then install more RAM. To install the RAM, check the information provided by the manufacturer.
4. Determine if the program is overusing memory
If you run out of some programs and the computer runs out of memory, one or more of these programs may have a memory leak. To stop the memory leak, you need to close the program. In order to fix memory leaks, you need to check if the program has updates or contact the publisher of the software.
(1) To determine which program uses the most memory, follow these steps:
A, right click on the task Bar, then click “ Start Task Manager & rdquo; Open “ Task Manager & nbsp;

B, click & ldquo; Process & rdquo; tab, to sort the program by memory usage , click “memory (private working set)”;

(2) You can also use the Event Viewer to check for program errors and troubleshooting information.
A, by clicking the "Start" button

, "Control Panel", "System and Security", "Administrative Tools", and then double-click "Event Viewer" ;, open “Event Viewer”. ‌

If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.

B. In the left pane, click on “Applications & Services Logs  to view error events. To see a description of the problem, double-click the event.
The Event Viewer tracks information in several different logs. Windows logs include:
Application (program) events. Events are categorized according to their severity, including “error", "warning" or "information". Errors are important issues such as data loss. Warnings are not necessarily important, but there are events that may cause problems in the future. An information event describes the successful operation of a program, driver, or service.
Security related events. These events are called "audit", and are described as success or failure based on the event (such as whether the user tried to log in to Windows successfully).
Set the event. Computers configured as domain controllers will display additional logs here.
System events. System events are logged by Windows and Windows system services, and their classification includes errors, warnings, and information.
Forwarded events. These events are forwarded to this log by other computers.
5. Increase free disk space
(1) Empty recycle bin
(2) Delete temporary files. Open %20“My Computer", right click on the disk whose space you want to free, and then click “Properties", on the “General" tab, click the "Disk Cleanup" button to select The check boxes in front of the unwanted files to be deleted are sorted.

(3) Delete expired files or archived files from the disk.
(4) Delete all files that have never been used.
6. Killing the virus
The system is infected with the computer virus is also the culprit of the lack of memory, when the system appears "Insufficient memory" error, please use the latest anti-virus software to kill the virus, perhaps clear the computer After the virus, it solved the problem of "insufficient memory".

Copyright © Windows knowledge All Rights Reserved