Windows 7 system prompts insufficient memory, check the normal solution of virtual memory

  
                  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. Steps:

There are two ways to set virtual memory. 1. Standard settings (1) Right click on the computer --- attribute; (2) select “ advanced system settings & rdquo; & rarquo; & ldquo; performance & rdquo; & rarquo; & ldquo; set & rdquo; & rarquo; & ldquo; advanced & rdquo; & rarquo; & ldquo ; virtual memory & rdquo;; (3) select “ change & rdquo; & rarquo; & ldquo; automatic management cancel & rdquo; & rarquo; & ldquo; custom size & rdquo; & rarquo; & ldquo; set & rdquo; & rarquo; & ldquo; determine & rdquo;; virtual memory The size of the device is set according to the machine configuration. It is generally recommended to set the physical memory (memory + memory) *2 as the best. 2. Precise settings (1) According to the performance monitor settings A, right click on “ computer & rdquo;, select & ldquo; computer management & rdquo;. B, in the "computer management", expand: Performance & rdquo; & rarr; & ldquo; monitoring tools & rdquo; & rarquo; & ldquo; performance counters rdquo; add a memory counter to understand the peak memory footprint, and then set the virtual memory value according to this usage . Setting virtual memory can alleviate some of the physical memory pressure. 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; C, in the open "Select process page column" In the window, find the location of the red box in the picture, and check the memory---submit size>; D, click OK, after the modification is successful, call the task manager again, where the “submit size” column It 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. There are three solutions for virtual memory that are too low: 1. The capacity of the custom virtual content (the system defaults to automatic) is too small to be resized. 2. The disk on which 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 put the documents. Move the useful files such as pictures and downloaded materials to other disks, and clean up the “Recycle Bin” to keep the system disk (memory + memory) *2GB or more, or define the virtual memory to other disks with more free space. Under the symbol. 3. The capacity of the system disk is not small, but because it is often installed, downloaded, and deleted repeatedly, causing too many file fragments, it is also one of the reasons why virtual memory is insufficient. Virtual memory requires a continuous space, even though the disk is free. The capacity is large, but there is no continuous space, and it is impossible to create a virtual memory area. You can use the disk utility to defragment. Windows 7 system prompts "Insufficient memory" causes and solutions Not only Windows 7 but also Windows Vista /Windows 2000 /XP /2003, with 2GB or more of memory, sometimes also encountered Windows 7 prompts "Memory Insufficient & rdquo; warning situation, or although the program window can not be opened, or the program window is open but not complete, such as the lack of menus, buttons, etc., as shown below: and so on, then how should we solve What? Note: There is a risk in modifying the registry. Please be cautious. It is best to back up the registry before modification to recover when the system fails. 1. Modify the default user handle and the number of GDI handles to a larger value. (1) Enter “regedit” in the search box of the Windows 7 Start menu, press Enter; the registry editor will trigger UAC and pop up the prompt window, click to confirm to continue; (2) Find the following registry branch: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NT CurrentVersionWindows In the right window, you can see the registry key named "GDIProcessHandleQuota" and "USERProcessHandleQuota"; the GDIProcessHandleQuota item sets the number of GDI handles. The default value is 2710 (hexadecimal) /10000 (decimal), which is the value. The allowable range 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 (10 in System), the allowable range of this value is 200 ~ 18000, adjust it 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 automatically tries to increase the size of the page file, but you can also manually increase it to the maximum value determined by the amount of RAM installed. 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 low 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 type of RAM your computer is compatible with, 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 is updated or contact the publisher of the software. (1) To determine which program uses the most memory, follow these steps: A. Right-click on the taskbar and click &ldquo Start Task Manager, open “Task Manager>; B, click the “process” tab, to sort the program by memory usage, click “memory (private working set) & rdquo;; (2) You can also use the Event Viewer to check for program errors and troubleshooting information. A. Open the “Event Viewer by clicking the Start button, then "Control Panel", "System & Security", “Administrative Tools", and then double-clicking “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 the 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 viruses The system is also the culprit of memory shortages. When the system has an "out of memory" error, please use the latest anti-virus software to kill the virus, perhaps after clearing the computer virus, it will be solved. “The problem of insufficient memory”.

Copyright © Windows knowledge All Rights Reserved