It looks for data in RAM that hasn't been used much, copies that data to the hard drive and
frees up RAM for other processes.
Answer(Techsupport)Resolution: RAM and virtual memory are two different things. Virtual memory allows you to use a portion of your hard drive as though it were RAM. Your hard drive is up to 100 times slower than RAM, so virtual memory is much slower than RAM. When you upgrade your RAM, you can reduce or eliminate the use of virtual memory. Upgrading RAM makes memory available to complete tasks previously handled by virtual memory.
Virtual memory management assist in the process of multitasking by providing extra memory when a computer has used up all its RAM. Virtual memory is however slower than RAM.
Yes. Virtual memory is used when there's not enough RAM in your system. It's just hard drive space that the PC sees as RAM. It is much much slower than RAM though. You could run out of memory if you are running enough programs that your use up all your RAM and your virtual memory is used up.
Yes, virtual memory uses a combination of both primary (RAM) and secondary (disk storage) memory. When the RAM is full, data is temporarily transferred to the hard drive to free up space for new operations, which is why virtual memory is sometimes referred to as "paging file" or "swap file."
Virtual memory is space on your hard-drive that holds information about active programs but is not currently needed and thus would just be taking up space in RAM. You can change how much virtual memory you have but to assist you on that I would need to know what OS you are running.
more RAM
Virtual memory refers to the combination of your "physical memory" (RAM) and any available "swap file". A swap file is a chunk of your hard drive that the computer sets aside in case your RAM fills up and it needs somewhere to store some extra information temporarily (however swap files tend to be a bit slower as they use a hard drive rather than RAM). So if you had 2GB of RAM on your PC and Windows made a 2GB swap file, you would have 4GB of virtual memory.
In order to free up space in memory, an operating system with a virtual memory capability transfers data that is not immediately needed from memory to the HDD; when that data is needed again, it is copied back into memory. That is, when all of the RAM is being used (e.g., if there are many programs open simultaneously or if one very large program is in use), a computer with virtual memory enabled will swap data to the HDD and back to memory as needed, thus, in effect, increasing the total system memory.
up to 16gb of RAM and up to 16TB of VM
Virtual memory is a type of memory that is allocated by the operating system and is used to speed up operations. Cache memory is RAM that the CPU can access faster than regular ram which is considered physical memory. When the CPU is looking for data, it checks the cache memory first, recently used data will still be in the cache. If it does not find it there, it moves on to use the physical memory. Anytime a program or file is opened, it is first loaded into RAM (physical memory).
Physical memory, as with all computer resources, is managed by the system. Applications access virtual memory exclusively, no exceptions, ever. Physical memory (RAM), the pagefile, and many other files on the hardisk make up the virtual memory system. This system has been extensively researched and tested and it usually performs very well. Virtual memory is VERY complex, and the designers understand it better than you do.
"Virtual" memory is computer memory that exists on a fixed media and non-volitile storage device of some kind -- a hard drive, or a solid state drive -- which is used, mostly, for overflow from, or swapping things in and/or out of, regular Random Access Memory (RAM). The computer comes with three kinds of memory in it: Read-only Memory (ROM), Random Access Memory (RAM), and the "virtual" memory that's created by the operating system on a hard drive or solid state drive. Hard drives, and/or solid state drives, in and of themselves, are not considered "memory." They're considered mass storage. However, once the operating system is up and running on the computer, and has allocated parts of itself, and of the various programs that are running, into RAM; and has also allocated a certain amount of RAM for calculating and doing things, then it will also allocate a little bit of one of the mass storage devices -- usually a hard drive, but on some of the newer machines with solid state drives in them, it can also be on that -- for what's called "virtual" memory, which is mostly used for RAM overflow... more specifically, for swapping things in and out of RAM. The computer reads from ROM (usually the BIOS and CMOS chips) at startup so that it even knows that it's a computer; and then, from there, what it has connected to it, and how to use it all. Then, once the computer has fully booted-up, the operating system loads parts of itself (and some other things) into RAM, and then it allocates part of mass storage as "virtual memory." As RAM starts getting full, the operating system will take the least-used things in RAM and will throw 'em down onto the part of the mass storage device that has been allocated as "virtual" memory. Then, if anything in virtual memory becomes needed up in RAM, again, the operating system will go get it and pull it back up into RAM. Virtual memory, then, is mostly used as "swap" space. It is not, then, actual "memory," per se; but it certainly functions like it. Virtual memory is also slower than regular RAM: Data cannot possibly be put onto, or pulled from, the "virtual" memory part of a hard drive full of moving parts as fast as it can be moved around RAM, itself. Even a solid state drive, which is a little like RAM in the sense that it's an integrated circuit with no moving parts, is not as fast as RAM. But the operating system knows how to keep things moving, and to only swap things down into virtual memory that really and truly won't be needed as much or as often or as quickly. The virtual memory management parts of most operating systems is pretty sophisticated. So, then, the answer to the question, "what is the purpose of virtual memory," is that virtual memory (which is always a part of a mass storage device, allocated by the operating system) is primarly used to swap things in and out of RAM so that said RAM won't get so clogged-up and bogged-down. When one purchases a computer, one reads certain specs about it. For example... The "processor" (or CPU) may be "dual core" and three-point-something gigahertz (GHz) in speed; or, The memory (or RAM) will be 4, 6, 8, 12 or 16 (sometimes more, sometimes less) gigabytes (GB) in size; or, The hard drive (mass storage) will be 500 to 750 gigabytes (GB) (or even one terrabyte, or larger) in size; and, sometimes, There could also, optionally, be a solid state drive (also considered mass storage) of 32 or 64 GB. "Virtual" memory is always allocated by the operating system from space on either or both of the hard drive or solid state drive mass storage devices; and said operating system then "swaps" things to/from RAM down to/from the allocated "virtual" memory; thereby keeping RAM from becoming cluttered and slow.