Take you away from virtual memory settings error

Source: Internet
Author: User
Tags file size

Party A: When I run a 3D game in the Windows XP operating system, I suddenly see a hint that "virtual memory is not enough" in the system Tray area. How can i solve this problem that I have seen before?

Party B: Virtual memory is a part of the hard disk space to act as memory, although the speed of the hard drive can not be compared with memory, but the capacity is much higher than the capacity of memory. The effect is to transfer some of the data that is temporarily unused in memory to virtual memory, freeing up space for memory, and holding the limited memory space to continue to hold the unread data.

When the virtual memory is not enough prompts, if not addressed, it will affect the efficiency of the system operation. The initial and maximum values of virtual memory are set to the same value, which can greatly improve the performance of the system.

Party C: The solution stated by Party B is wrong. This is because if you set the initial and maximum values of virtual memory to two identical values, in the case of a large initial paging file, it is possible to read a small data file in memory, so that the lower the proportion of virtual memory, the slower the execution rate. If the initial page of virtual memory is very small, then when the data exceeds the capacity of the initial paging file, it automatically overflows to the maximum paging file, but because the capacity of the maximum paging file is the same as that of the initial paging file, it is inevitable that the memory overflow error will occur.



So we set the size of virtual memory, the initial paging file should be set to a smaller capacity, so that in memory as much as possible to store more data, make it more efficient, but also should increase the capacity of the maximum paging file, to prevent "virtual memory is not enough" prompt to appear again.

The above is the basic principle of setting up virtual memory, and if you want to set the specific virtual memory size, then you may use the following two methods:

The first method is relatively simple

Click the System menu "Start → control Panel" In the Control Panel window, click the "Advanced" tab on the window, and in the performance area, select the Settings button. Click the "Advanced" tab in the Open dialog box to enter the Virtual Memory Settings window by clicking the Change button in the virtual memory area.

Select the partition letter in the Drive column of the window. Because the hard drive reads the data by the magnetic head, and the system disk has many system files, if the virtual memory page file is also located on the system disk, the paging file is necessarily discontinuous, the head back and forth will affect the performance of the system, so we can set the virtual memory file in a separate partition of the system partition.

Then select the custom size option in the paging file size area of the selected drive, and then fill in the values in the initial size and maximum columns.

According to Microsoft, the minimum value of a virtual memory swap file should be 1.5 times times the amount of memory, but if the memory capacity is 512MB or even 1GB, it will occupy a lot of space. Therefore, when the total memory capacity is below 256MB, the minimum value of virtual memory is set to 1.5 times times; above 512MB, set to half of the memory capacity, and between 256MB and 512MB set to the same value as the memory capacity.

The second way to set up virtual memory is slightly more complex, but more targeted.

First run the applications that are frequently used on your computer, and then open the Windows Task Manager window. Click the Performance tab of the window to display "Physical memory" and "approved dosage" on the page that appears. Where the available number of physical memory is less than the actual capacity of physical memory, the current physical memory is sufficient. And if the "approved dosage" area shows "Total", "peak value is more than the existing capacity of virtual memory, then you can enter the virtual Memory Settings window, the virtual memory of the" Initial size "value and" Total "," peak "values similar to the capacity. FinishComputer Basics Tutorial Network)




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.