What is virtual memory? Hong Wang semiconductors for you to uncover the mystery of virtual memory

Recently, Wang Wang Fan Advisory semiconductor questions about virtual memory, give us today about the science of those things about virtual memory.
What is virtual memory?  Hong Wang semiconductors for you to uncover the mystery of virtual memory
What is virtual memory
Virtual memory is hard disk space in the computer RAM memory to compensate for the lack of space, when the actual RAM is full (in fact, before the full RAM), virtual memory is created on the hard disk, when the physical memory runs out , the virtual memory manager to select not recently used, low priority portion of memory written to the swap file. This process is hidden from the application, the application of virtual memory and memory actually considered the same.

A lot of memory in the computer role, computers all running programs need to be run through memory, or if the execution of a great many, it will lead to memory exhausted. To solve this problem, windows in the use of virtual memory technology, that is, to come up with a portion of the hard disk space to act as memory usage, memory usage when finished, the computer will automatically call the hard drive to act as a memory to ease the tension of memory.

Virtual memory that can really replace the physical memory?
For example: My computer memory maximum support 16G, the computer has a 500G solid-state hard drive, but the software I run need 32G memory, if I put a bigger solid virtual memory settings, such as 50G, can not compensate for the lack of memory, so that the program can will run the largest virtual memory can set how much?

Hong Wang semiconductors answer is no, virtual memory can only alleviate the problem temporarily insufficient memory to run, because the hard disk speed and memory speed real big difference. In the Virtual Memory settings, the Hong Wang semiconductor suggestions: can be set to 1.5 times to 3 times the size of physical memory, although the windows will automatically set the virtual memory size for you, but you can still manually set. Another issue important to note that, because the hard disk for virtual memory consumption too much, so in demand does not play the big game or run large-scale software, consider whether you want to set too high virtual memory.

Whether it is necessary to set up virtual memory?
According to Wang-Wang semiconductor understand our present state of computer memory to run 16G enough support to complete the vast majority of our work, but sometimes there is virtual memory and physical memory size has nothing to do, such as the depth of learning, science experiments and other computing applications, their the software will automatically large amounts of data into virtual memory, users of such software should be used carefully and find that no matter how much memory your own, there are a few G's data will always be in virtual memory.

Such software does not need to frequently used, placed in virtual memory, you can save physical space, if you turn off virtual memory in order to actually make the software adapt produce problems, and very high computing software will eat memory, virtual memory the existence of such software is to meet the intake of memory, and even some software has specific requirements for virtual memory, turn on virtual memory if there is no software will be error. Therefore, the virtual memory settings to a certain extent, is also necessary.

What is virtual memory?  Hong Wang semiconductors for you to uncover the mystery of virtual memory
Virtual memory settings way to
sum up the point of view, the virtual memory has become an important feature of our system during use, the lingua franca of many software even if only a little separation 1G memory also have to take up in virtual memory, even if the case is closed cause the software to crash, we now recommend to memory 8G memory capacity is allocated virtual memory 20G, 16G and 24G memory allocation, then it is sufficient if the points too much but because of large-scale continuous reading and writing the hard disk drive life caused severely reduced.

Guess you like

Origin blog.51cto.com/14293659/2411116