What to do if there is not enough virtual memory

Source: Internet
Author: User

reason for "Low virtual memory":

1, infection virus

Some viruses take up a lot of memory space when they occur, causing the system to have a memory problem. Quickly to antivirus, upgrade the virus library, and then the anti-virus measures to do a good job!

2. Improper setting of virtual memory

Improper virtual memory settings may also lead to out-of-memory problems, under normal circumstances, virtual memory size of twice times the size of physical memory, if set too small, it will affect the normal operation of the system program. Resize virtual memory to WinXP for example, right click on "My Computer", select Properties, then on the Advanced tab, click the Settings button in the performance box, switch to the Advanced tab, and then click the Change button in the Virtual memory box, and then reset the virtual memory size. It's good to reboot the system when it's done.

3. Insufficient system space

Virtual memory files are in the system disk by default, such as WinXP virtual memory file named "Pagefile.sys", if the system disk space is too small, resulting in insufficient virtual memory, there will be insufficient memory problems. The system disk must retain at least 300MB of space, of course, this value depends on the user's actual needs. Users try not to install a variety of applications in the system disk, to ensure that there is enough space for the use of virtual memory files, and it is best to put the virtual memory files on the system disk.

4, because the system user rights are not set properly

When Windows system starts on the NT kernel, the system user creates the virtual memory files for the systems. Some users use the NTFS file system for system security, but cancel the system user's "write" and "modify" permissions on the systems disk, which makes it impossible to create a virtual memory file for the system, and an out-of-memory problem occurs when running a large program. The problem is solved by simply giving the system user write and modify permissions, but this is limited to users who use the NTFS file system.

  What if there is not enough virtual memory?

1, custom virtual memory, the general default virtual memory size is to take a range of values, it is best to give it a fixed value, so it is not easy to generate disk fragments, the specific values according to your physical memory size to set, generally 128MB physical memory set 2-3 times, 256MB set 1.5-twice times, 512MB set 1- 1.5 times times, 1GB set 0.5 times times or not set. You are using 512MB memory, virtual memory set 512MB or 768MB, if too small can also be set to 1024MB.

2, the virtual memory method is: Right-click My Computer-Properties-advanced-performance Settings-advanced-Virtual memory changes-click on the C-disk--Radio "no Paging File (N)"-"settings", the virtual memory next to the C disk disappears, then the F disk is selected and the "Custom Size" is selected--in the following " Initial size and maximum two text boxes enter a value--"Settings"--OK--reboot, then complete the setting.

3, the proposed memory is best not to be located in the same partition as the system, memory is changed dynamically with the use, C disk is easy to produce disk fragmentation, affecting the speed of the system, so it is best to set the virtual memory in other partitions in the disk surplus space is larger and less commonly used disk, such as D, F, This avoids the system's frequent read and write operations within this partition and affects system speed. There is a computer in the virtual, only one can be placed in any partition on the disk.

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.