Re: available memory from task manager

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks Pavel,


1.

http://msdn2.microsoft.com/en-us/library/aa366586.aspx


No, this is different.

I am a little confused. You mean this API provides commit change value if we
retrieve page file value from the dwAvailPhys member of MEMORYSTATUS?

2.

I want to confirm with you about the term commit charge. It means actual
consumed RAM (physical memory) + paging file (disk), right?


regards,
George


"Pavel Lebedinsky [MSFT]" wrote:

Other things are
reflected in the commit charge but do not occupy either
physical memory or pagefile space (for example, VirtualAlloc'ed
pages that have not been accessed).

Do you mean the demand for zero case? :-)

Yes, demand-zero pages.

"Paging File\% Usage" perf counter can be used for this.

There is another way.

http://msdn2.microsoft.com/en-us/library/aa366586.aspx


No, this is different.

In almost all cases if you see "page file" in the name of some counter
you can substitute it with "commit charge". ullAvailPageFile is just
another example.

Paging File\% Usage on the other hand represents the actual amount
of data in the pagefile. It's a rarely used counter, and as far as I know
there is no other documented way to access it.

--
This posting is provided "AS IS" with no warranties, and confers no
rights.



.



Relevant Pages

  • Re: available memory from task manager
    ... consumed RAM (physical memory) + paging file, ... system commit charge. ... Some things occupy physical memory ... but are not reflected in the commit charge (for example, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: WCE only supports 482 threads per process?
    ... Well, you could have much more RAM and still, CE4 processes are limited to ... Reserve but not Commit, so the other processes can also create 481 ... before they run out of either virtual or physical memory. ... per resource, with the resources being CPU, harddisk-IO, network input, ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Upcoming Releases Schedule...
    ... What I've done is identified our normal model for getting from the current starting point to the proposed outcome (a guy on the security-officer team, commit access required to participate in the support process, etc). ... getting replies using words like "demand" is that it is easy to read your e-mails in exactly the above light. ... IF and WHEN such information is made available, my $EMPLOYER and a few others would be interested in discussing what resources we could bring to the table to help resolve those resource limitations. ...
    (freebsd-stable)
  • Re: available memory from task manager
    ... physical memory or pagefile space (for example, ... Do you mean the demand for zero case? ... you can substitute it with "commit charge". ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Has GlobalMemoryStatusEx been fixed ?
    ... I'm not sure if you can receive that from GlobalMemoryStatusEx but check ... Arkady ... > I need to be able to retrieve the "Commit Charge" and display it much ...
    (microsoft.public.win32.programmer.kernel)