Decided based on the size of physical memory. Specific suggestions: 1. According to Microsoft’s recommendations, virtual memory should be set to 1.5-3 times the physical memory capacity; 2. If the physical memory is 2G, the virtual memory should be set to 3G=3072MB; if the physical memory is 4G, then the virtual memory The memory should be set to 6G=6144MB; 3. It is usually recommended to set the virtual memory to 1.5 to 2 times the total computer memory; 4. It is generally similar to the physical memory.
#The appropriate amount of virtual memory settings needs to be determined based on the size of physical memory. The following are some specific suggestions:
According to Microsoft's recommendations, virtual memory is set to 1.5--3 times the physical memory capacity. For example, for 512MB of memory, the virtual memory is set to 768--1536MB; for 1G of memory, the virtual memory is set to 1536--3072MB.
If the physical memory is 2G, the virtual memory should be set to 3G=3072MB; if the physical memory is 4G, the virtual memory should be set to 6G=6144MB.
It is usually recommended to set virtual memory to 1.5 to 2 times the total computer memory. For example, if the computer memory is 8GB, it is more appropriate to set the virtual memory to 12GB to 16GB.
Generally similar to physical memory. Since there is 8G of physical memory, 4-12G of virtual memory is acceptable, and 8G is recommended.
Note: There is a recommended value at the bottom of the virtual memory setting page. If you really don’t know what the optimal setting is, it is recommended that the virtual memory be set to the recommended value.
The above is the detailed content of What is the appropriate virtual memory setting?. For more information, please follow other related articles on the PHP Chinese website!