Wednesday, 20 June 2012

Physical Vs Virtual Memory

RAM is the amount of physical memory installed on your computer. It acts like short-term memory, enabling programs to load and operate faster. When you start a program or an application, it uses a part of that memory. Most programs will require at least 32MB of RAM. If you look in your system tray (next to the time), there are usually four or more programs running (antivirus, firewall, and so on). Those background programs alone require 128MB. Then if you use any programs, such as a Web browser or a word processor, it requires more memory.

Windows makes up the difference for that amount of RAM requirement by allocating or reserving a portion of your hard drive to act as though it were RAM. That's what is referred to as virtual memory, or page file. The less RAM you have the more virtual memory is allocated. Windows typically manages that for you. As a standard rule of thumb, Windows creates a virtual memory of 1½ times your physical RAM. So if have 256MB of actual RAM, Windows pagefile (virtual memory) will equal 384MB.
Note: You can create virtual memory more than 1.5 times of RAM.There is no upper limitation to create virtual memory in the system.

Virtual memory is logical and physical memory is the actual available memory.
Each running process has its own virtual address space. But each virtual memory mapped either to RAM or HArddisk by the MMU(Memory Management Unit).So by virtual memory systems the computer overcomes its physical memory limitations.
Ex:
Suppose You need to run a Game, that needs 2 GB Ram, but you have only 1.5 GB RAM, If u configured Virtual Memory, then System will be able to Run the game, as it will take 512 MB HDD space as a RAM.


How to see Virtual memory in your computer:
Control Panel--> System-->Advance Tab-->Performance-->Setting-->Advance Tab-->Virtual memory-->Change



No comments:

Post a Comment

How to Change Password of IUSR_METRO Account

Sometime we need to change the password of IUSR_METRO Account. This may be required due to compliance issue. Below are the steps to chang...