virtual memory managment

afraca

New member
Local time
10:53 AM
Messages
9
Hi there,

I've been using Windows 7 now since 6th of May, and love it! I haven't had any troubles except 2, but this topic is meant for only one.

I remembered an application called Everest, it lists all of your hardware and information about it, OS and stuff, really nice. It also has tab for sensors, where you can monitor temperature.

When i was looking around in Everest, I found out somehow 7gigs. of virtual memory is available, and most of the time somewhere around 2gig. is being used. That was kind of weird, because I have 4 gigs of RAM, and most of the time only 25% is used of it. So, why would Windows prefer use of the virtual memory over the use of physical memory? I found out virtual memory could be managed in "advanced system settings". because 2.5 gigs of virtual memory was used most of the time, I thought: why not just completely disable paging file.

So it's: computer --> right click properties --> advanced system settings --> advanced tab --> performance --> settings --> virtual memory --> change.

So finally comes the problem, I have succesfully disabled the paging file, and it says "total paging size for all drives: 0 mb". But when I go to Everest, it still says I have 7 gigs of Virtual Memory available, and it uses 2 gigs........ I want to make full use of my physical memory!
 

My Computer

Computer Manufacturer/Model Number
Acer Travelmate 7520
OS
Windows 7 64-bit 7100
CPU
AMD TURION 64 X2 Mobile TL-58 (1.9ghz)
Memory
4GB Kingston (2x2gb)
Graphics Card(s)
ATI Radeon X1250
Monitor(s) Displays
17" WXGA+ Acer CrystalBrite LCD
Screen Resolution
1440x900
Hard Drives
Onboard HDD: 1x 160gb
Windows uses virtual memory for running it's processes. The Windows Memory Manager (WMM) manages the virtual memory by swapping it in and out of physical memory (RAM). Different limits apply for each.

The confusion arises in 32 versions of Windows when the WMM allocates 4 gB of virtual memory address space for each process With 50 processes running, that's 200 gB of virtual memory address space. Needless to say, each process doesn't use all 4gB - but it's there in case it's needed.

With 32 bit OS's, there's a limit on physical RAM of 4gB. You can install as much as you want (as long as the motherboard can handle it) - but only the first 4 gB will be recognized/utilized. Also, some hardware devices (video cards in particular) reserve some of this address space for their own use. So that's why 32 bit versions of Windows can only use 2.5 to 3.6 gB of RAM.

For 64 bit systems it gets a bit more complicated - but the numbers are essentially just larger versions of the 32 bit numbers.

For more info, here's a couple of links:
Physical Memory: Mark's Blog : Pushing the Limits of Windows: Physical Memory
Virtual Memory: Mark's Blog : Pushing the Limits of Windows: Virtual Memory
The Virtual Memory link also discusses the pagefile.
 

My Computer

Computer Manufacturer/Model Number
Home built (x64), Lenovo x61s Tablet, Samsung Netbook
OS
Win7 x64 + x86
CPU
Intel i7 920, other Intel chips, and the Atom in the netbook
Motherboard
Asus P6T Deluxe
Memory
12 gB; 4 gB Lenovo; 1 gB Samsung netbook
Graphics Card(s)
ATI 4870
Sound Card
Yes, I have one of these
Monitor(s) Displays
32" Sharp Aquos TV
Screen Resolution
800x600 - I have vision issues
Hard Drives
4 - 150 gB Velociraptors in RAID 5
Promise controller
PSU
1000 watt (can't recall the brand)
Case
Antec 300
Cooling
Big honking cooler that was rated highly at Toms Hardware
Keyboard
Microsoft Natural
Mouse
Logitech Trackman
Internet Speed
Cable
Other Info
GeekSquad UPS
CyberPower UPS
DLink DNS-323 NAS (2 tB)
Netgear wireless router as an access point
Netgear wired router FSV-318
Home network consists of
4 desktop computers (2 Vista, 2 Win7)
1 netbook (Win7)
4 laptop computers (XP, 2-Vista, Win7)
Wii and XBox 360
Windows uses virtual memory for running it's processes. The Windows Memory Manager (WMM) manages the virtual memory by swapping it in and out of physical memory (RAM). Different limits apply for each.

So when it says it's using 2gb. of virtual memory, that doesn't necessarily mean it's using 2gb of virtual memory on the hard drive?

I'm using 64-bit windows, so the limit shouldn't be a problem. I was just wondering why my windows would use disk space as memory, if there is plenty of "room" on my physical memory (4gb total, but only using 35% now).
 

My Computer

Computer Manufacturer/Model Number
Acer Travelmate 7520
OS
Windows 7 64-bit 7100
CPU
AMD TURION 64 X2 Mobile TL-58 (1.9ghz)
Memory
4GB Kingston (2x2gb)
Graphics Card(s)
ATI Radeon X1250
Monitor(s) Displays
17" WXGA+ Acer CrystalBrite LCD
Screen Resolution
1440x900
Hard Drives
Onboard HDD: 1x 160gb
So when it says it's using 2gb. of virtual memory, that doesn't necessarily mean it's using 2gb of virtual memory on the hard drive?

I'm using 64-bit windows, so the limit shouldn't be a problem. I was just wondering why my windows would use disk space as memory, if there is plenty of "room" on my physical memory (4gb total, but only using 35% now).
.
One reason is applications often ask for much more memory then they actually use. Windows needs to be able to assign memory address space to applications, and being able to use virtual memory is a lot better then using ram. There's a difference between reserving the memory space and actually utilizing it. This is why it's not a good idea to disable the page file. I suggest re-enabling the page file and trusting Windows memory management. Something you can do to improve performance is install PerfectDisk (30 day trialware) and use the boot time defrag option to defrag the page file.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
CPU
Intel Core2 Extreme Q6850 3.00GHz
Motherboard
EVGA 132-CK-NF79
Memory
8 GB
Graphics Card(s)
Radeon R7 260X
Sound Card
Xonar DS
Hard Drives
Hitachi Deskstar 1 tb
Thanks for all of the replies. Guess I still have a lot to learn about (virtual) memory managment in Windows. I was just a bit "scared" my 4gb. physical memory was quite useless, and trying to make optimal use of it. I've re-enabled the page file and set it to auto-size, but if Windows screws it up, we're through ^^
 

My Computer

Computer Manufacturer/Model Number
Acer Travelmate 7520
OS
Windows 7 64-bit 7100
CPU
AMD TURION 64 X2 Mobile TL-58 (1.9ghz)
Memory
4GB Kingston (2x2gb)
Graphics Card(s)
ATI Radeon X1250
Monitor(s) Displays
17" WXGA+ Acer CrystalBrite LCD
Screen Resolution
1440x900
Hard Drives
Onboard HDD: 1x 160gb

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 x64 Ultimate
CPU
Intel 4770k
Motherboard
Asus Maximus VI Formula
Memory
Corsair Vengance DDR3 (2x8) 16GB
Graphics Card(s)
Zotac 580 GTX (nVidia)
Sound Card
Onboard
Monitor(s) Displays
Samsung XL2370
Screen Resolution
1920x1080p
Hard Drives
1 SSD Corsair Neutron
1 WD Blue
1 Seagate
PSU
Thermaltake 1000W
Case
NZXT Phantom 530
Cooling
4 case coolers, Zalman 9900MAX CPU and GPU stock cooler
Keyboard
Microsoft X4 Sidewinder
Mouse
G700 wireless Logitech
Internet Speed
10mb/s
Antivirus
Kaspersky PURE 3
Browser
Firefox and Thor
Other Info
DVD-ROM Sony Opticarc OEM
Back
Top