Home > Article > Operation and Maintenance > There is not enough free memory to run this program.
What should I do if there is not enough available memory to run this program?
I have been using a notebook recently and just turned on the computer. When using it, the message "Not enough memory" often appears. "use the available memory to run this program". It will return to normal after clearing the system memory, or it will return to normal after the computer has been used for a period of time.
Recommended related article tutorials: windows tutorial
What is the reason for this?
This is caused by insufficient virtual memory. Insufficient memory in the virtual machine is caused by too many programs running and the virtual memory setting is too small.
Setting up virtual memory on a computer is quite difficult for most people, including not only the setting method, but also its corresponding setting values.
The specific setting method is as follows:
1. Right-click "Computer", select "Properties" in the pop-up menu, and then select "Advanced" System Settings";
2. Next, in the system properties window, select the "Advanced" tab and click the "Settings" button under Performance:
3. Select the "Advanced" tab in the performance options window, and then click the "Change" button below, as shown in the picture
4. Next You can set the size of the virtual memory. First, cancel the small check mark in front of "Automatically manage the paging file size of all drives".
The system defaults to setting the virtual memory on the system disk (usually The system disk is installed on the C drive. Some systems that are not installed on the C drive are not included in this list.)
After selecting the drive letter of the C drive, then select the non-paging file as shown in the figure, and then select the file as shown in the figure. The settings button shown. This setting only sets the system’s default virtual memory on the system disk to none.
Then select “Custom size” and open the settings After that, the virtual memory window will pop up, as shown in the figure.
When setting the virtual memory size, the bigger is not the better. It should be set according to our actual physical memory, which is usually 1.5 of the actual physical memory. -About 2 times. For example, my computer memory is 4G. It is recommended to set the virtual memory size between 4096M and 8192M. After the input is completed, click the "Set" button, as shown in the figure. Note: 1G=1024M
5. Set up and confirm, then confirm all the way back. Then restart the system and it will take effect.
For more related tutorials, please pay attention to PHP Chinese website !
The above is the detailed content of There is not enough free memory to run this program.. For more information, please follow other related articles on the PHP Chinese website!