Page File Statistics

Windows specific forum
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Page File Statistics

Post by IdeasVacuum »

Does anyone know how to verify Total Page File size and total Page File committed (in use)?

GlobalMemoryStatusEx() is unreliable.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
spikey
Enthusiast
Enthusiast
Posts: 778
Joined: Wed Sep 22, 2010 1:17 pm
Location: United Kingdom

Re: Page File Statistics

Post by spikey »

GetPerformanceInfo() any good?

Are you sure GlobalMemoryStatusEx() is not volatile rather than unreliable? It changes very rapidly - especially on busy systems. You're probably going to encounter the same issue with GetPerformanceInfo().
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Page File Statistics

Post by IdeasVacuum »

GlobalMemoryStatusEx() is good so long as there is only one PageFile and it's on Drive C. Anything much more advanced and ..........
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply