Windows 10 virtual memory/pagefile discrepancies

0

My Windows 10 system is using far too much virtual memory

How do I stop this?

HWiNFO64

Using HWiNFO64 you can see I currently have about 75 GB of virtual memory on my system and am using a massive 31 GB. The average load is ~30 GB too.

However this system has 64 GB of RAM. And there is a load of only about 40% RAM with an average of 40 GB free, more than enough to cover the virtual memory.

However, I have set my system to never use anywhere near this much virtual memory. How is it allocating almost 10x the amount I have in the Virtual Memory settings?

Virtual memory settings

(Performance Monitor also has a weird % that doesn't agree.)

Performance monitor

Questions

  1. Why am I using so much virtual memory when the system says it is prevented from doing so?
  2. How do I stop this?
  3. Also, why am I being told I have pagefile usage where there is no pagefile in my c:\ (I have hidden files visible)?

Turkeyphant

Posted 2019-04-03T11:16:09.427

Reputation: 203

Committed memory is not necessarily used memory. – Daniel B – 2019-04-03T11:28:18.397

1The tool is reporting the amount of memory in a weird way. 64 GB + 8 GB is approximately the same amount of memory being reported by the tool. I would suggest you run RAMMap instead to get a better understanding of your memory usage. – Ramhound – 2019-04-03T11:36:05.120

Answers

1

Why am I using so much virtual memory when the system says it is prevented from doing so?

The tool is reporting the amount of memory in a weird way. You are not actually using 32.5 GB worth of virtual memory. You are only using the difference between 25,519 GB and 31,479 GB.

The tool is combining the amount of virtual memory you have allowed the system to have and the physical memory that is installed. I have confirmed this behavior with my own system.

How do I stop this?

There is nothing to stop the program is working as it was designed.

You seriously should think about using a different program other than HWiNFO64 to monitor your memory usage.

Also, why am I being told I have pagefile usage where there is no pagefile in my c:\ (I have hidden files visible)?

Be sure you showing hidden are not hiding protected operating system files.

enter image description here

Ramhound

Posted 2019-04-03T11:16:09.427

Reputation: 28 517

Thanks for explaining this in a sensible way. – Turkeyphant – 2019-04-03T13:14:41.007

0

My Windows 10 system is using far too much virtual memory

It is not.

Using HWiNFO64 you can see I currently have about 75 GB of virtual memory on my system and am using a massive 31 GB. The average load is ~30 GB too.

Which is perfectly normal seeing how physical memory use is at ~25 GiB. Applications routinely ask more memory of the system than they will actually use. This memory is reserved (“committed”) in virtual memory. All memory reservations must be available for programs to actually use, there is no overcommit on Windows.

The 31,479 + 43,677 MB you’re seeing add up to 75,156 MB which is almost exactly the amount of physical memory you mention (64 GiB) + the page file size as indicated by Windows (9,728 MiB). The virtual memory size is physical memory plus all page files.

The page file enables efficient use of physical memory. When you disable the page file, committed but unused regions of memories will fill your physical memory.

  1. Why am I using so much virtual memory when the system says it is prevented from doing so?

Where did you get the impression the system is saying that? It’s not.

  1. How do I stop this?

You don’t and you don’t want to.

  1. Also, why am I being told I have pagefile usage where there is no pagefile in my c:\ (I have hidden files visible)?

Who knows. Windows may have created it anyway because it’s required for efficient memory management. pagefile.sys is a system hidden file and will not show up along with regular hidden files. It is only visible when “Hide protected operating system files” is disabled.

Daniel B

Posted 2019-04-03T11:16:09.427

Reputation: 40 502

I mistakenly thought this was my answer. I went ahead and rolled that edit back. – Ramhound – 2019-04-03T11:52:36.583

No problem, it happens. :) – Daniel B – 2019-04-03T12:02:19.523

@DanielB - I got that impression because counting the physical RAM sticks I bought and installed as part of "virtual memory size" is a flat out error. There is nothing virtual about them - they are physical which is a mutually exclusive property. The issue is "virtual memory size is physical memory plus all page files" which is simply wrong. – Turkeyphant – 2019-04-03T13:23:29.303

No, it’s not an error at all. It is exactly like I wrote. I suggest you read up on Virtual memory.

– Daniel B – 2019-04-03T14:22:55.063

Why was this answer downvoted? – Ramhound – 2019-04-03T15:59:27.297