Recently, when many friends modify the virtual memory of the computer, they are not sure what the initial value and maximum value should be set for 8G running memory. In fact, there are formulas. Now I will give you a detailed introduction to the setting method.
Answer: Generally, the initial value is set to 512M or 1024M.
The maximum value is 1.5 times the physical memory, which calculates to 6144M.
1. Right-click "This Computer" and select "Properties"
2. After entering, select "Advanced System Settings"
3. After opening it, find "Advanced" and select "Settings" of "Performance"
4. Then click "Advanced" and then select "Change"
5. Uncheck the options in the red box.
6. Then select the C drive, click No paging file, and then click Settings, so that you can cancel the virtual memory of the C drive.
7. Then we click on the D drive above, select "Custom Size", enter the initial value and maximum value just now, click "Settings" and restart. .
The above is the detailed content of How to set appropriate initial and maximum values to optimize 8g virtual memory. For more information, please follow other related articles on the PHP Chinese website!