Why does the Windows Task Manager never show more than 80% memory used?

0

In the Windows Task Manager I have never seen the memory usage close to 100%. If physical memory is never depleted, how come computers have virtual memory? I realize many years ago maybe computers did run out of physical memory but I have never seen (according to the task manager) more than 80% of the machine's memory used.

Celeritas

Posted 2013-04-02T04:24:52.400

Reputation: 7 487

Which version of windows and how much memory do you have installed? – G Koe – 2013-04-02T04:28:05.140

I'm using Windows 7, have 8GB of memory, and am running a ton of programs at once. – Celeritas – 2013-04-02T04:31:03.313

Virtual memory? You mean the pagefile? – Havenard – 2013-04-02T04:37:18.057

@Havenard sorry but please speak with full sentences. I don't understand "virtual memory?". Thanks – Celeritas – 2013-04-02T04:43:50.347

1@Celeritas - Virtual Memory is a well documented term. If you want to know more about that particular term there are hundreds of resources you can use to research that subject. Havenard's question actually is a complete sentence. The general purpose of virtual memory allows every application to use all the memory it wants and allows the operating system to manage this process. The reason virtual memory exists is because looking something up in memory isn't a free operation ( cost in performance ) – Ramhound – 2013-04-02T11:44:32.850

@Ramhound I do not get what you are saying. Looking something up in memory is not a free operation and looking something up on disk is even slower. My question is if physical memory is never fully used than why have virtual memory since it's slower? BTW generally one word sentences aren't sentences and aren't constructive. – Celeritas – 2013-04-02T16:10:06.783

@Celeritas - The contents of the virtual memory is known by the program at all times the contents of the physical memory is not known. The physical location of a given variable in the physical memory can be moved around, the physical location in virtual memory, wouldn't change since the program has complete control over it. – Ramhound – 2013-04-02T16:53:24.863

Answers

0

The paging file is always enabled by default in every installation of Windows, are you going to use it or not. It doesn't avaliate the physical memory you have to decide that.

Microsoft recommends this is left enabled for reasons beyond my understanding, but if you want to disable it you can.

  1. Right click your Computer icon, click Properties;
  2. In the tab Advanced, click the button "Settings..." under Performance;
  3. Once in the Performance Options, go to the tab Advanced and click the button "Change..." under Virtual Memory;
  4. Uncheck "Automatically manage paging file size for all drives";
  5. Select any drive with paging file enabled and chose "No paging file".

Havenard

Posted 2013-04-02T04:24:52.400

Reputation: 788

1

The page file is not only used when physical RAM runs out, but also as a guarantee that the memory is available IF needed.

Imagine a computer with 2GB RAM, running an application requesting 3GB while only using a fraction of that. Without virtual memory, the OS would have to fail that allocation (and probably crash the program) as it would not be able to guarantee that all of those 3GB could end up being used.

user214003

Posted 2013-04-02T04:24:52.400

Reputation: