Home  >  Article  >  Operation and Maintenance  >  There is not enough free memory to run this program.

There is not enough free memory to run this program.

angryTom
angryTomOriginal
2020-03-09 10:14:5423187browse

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:

There is not enough free memory to run this program.

3. Select the "Advanced" tab in the performance options window, and then click the "Change" button below, as shown in the picture

There is not enough free memory to run this program.

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.

There is not enough free memory to run this program.

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

There is not enough free memory to run this program.

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn