I heard that some users are short of virtual memory. I don't know how to solve it? So, how to solve the problem of insufficient computer virtual memory? The following is the solution to the shortage of virtual memory in the computer system I sorted out for you. I hope it will be useful to you!
What is computer virtual memory
Memory will be used when the computer executes programs, and virtual memory is the active file of file data cross link. It is a "win386. SWP" file in the windows directory, which will continue to expand and automatically shrink. In terms of speed, L1 and L2 cache speeds of CPU are the fastest, followed by memory and hard disk.
But virtual memory uses the space of hard disk. Why should we use the slowest hard disk as virtual memory? Because all the running programs in the computer need to be executed through memory, if the executed programs are large or many, we will only have a poor 256 M / 512 M of memory exhausted. The hard disk space is often tens of gigabytes or hundreds of gigabytes. In order to solve this problem, windows uses virtual memory technology, that is, taking out part of the hard disk space to use as memory, which well solves the problem of insufficient memory in the process of using the computer.
The computer prompts the reason for insufficient virtual memory
When some viruses attack, they will occupy a lot of memory space, resulting in insufficient virtual memory in the system. At this time, we need to upgrade the virus database and take anti-virus measures. Improper setting of virtual memory may also lead to insufficient virtual memory. Generally, the size of virtual memory is twice the size of physical memory.
The virtual memory file is in the system disk by default. If the remaining space of the system disk is too small, resulting in insufficient virtual memory, there will also be insufficient memory. The system disk should reserve at least 300MB of free space. Of course, this value should be determined according to the actual needs of users. Users should try not to install all kinds of application software on the system disk, ensure that there is enough space for virtual memory files, and it is best to place the virtual memory files on the non system disk.
When the windows system based on NT kernel starts, the system user will create a virtual memory file for the system. For the sake of system security, some users adopt NTFS file system, but cancel the permission of system users to write and modify on the system disk, so they cannot create virtual memory files for the system. When running large programs, the computer will also prompt that there is insufficient virtual memory. In case of this problem, the solution is still very simple. Just give the system user the right to write and modify again, but this is only limited to users using NTFS file system.
The computer system prompts the solution of insufficient virtual memory
1. Right click the "computer" icon, open the right-click menu and select the "properties" command.
2. Click the "advanced system settings" link in the blue area on the left.
3. Click the "Settings" button in the "performance" column under the "advanced" tab.
4. Open the "performance options" dialog box, switch to the "advanced" tab, and click the "change" button of "virtual memory".
5. Remove the check box of "automatically manage the paging file size of all drives".
6. Select the drive where the system is located, then select the "custom size" option, enter the "initial size" and "maximum value", and click the "set" button (virtual memory setting principle: generally 1.5-3 times of physical memory; however, the minimum value can also be set to 1.5-2 times of physical memory, and the maximum value can be set to 2-3 times of physical memory. Generally, users of 2G memory modules can set the initial value to 512MB and the maximum value to 1024MB).