'There is not enough memory available to run this program' solution

藏色散人
Release: 2020-05-10 14:27:24
Original
43363 people have browsed it

'There is not enough memory available to run this program' solution

What if there is not enough free memory to run this program?

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";

There is not enough memory available to run this program solution

2. Next, in the system properties window, select the "Advanced" tab and click the "Settings" button under Performance:

There is not enough memory available to run this program solution

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

There is not enough memory available to run this program solution

4. Next, you can The size of the virtual memory is set. First, uncheck the small check mark in front of "Automatically manage paging file size for all drives".

The system default is to set the virtual memory to the system disk (usually the system disk is installed on the C drive) (Some files 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 picture, and then select the setting button as shown in the picture . This is just setting the system default in the system disk to set up the system disk. 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 it up and confirm, and confirm all the way back. Then just restart the system and it will take effect. There is not enough memory available to run this program solution

The above is the detailed content of 'There is not enough memory available to run this program' solution. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template