Re: available memory from task manager
- From: George <George@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 16 Jan 2008 23:30:00 -0800
Thanks Pavel,
Three more comments,
1.
Seems you mean there is something wrong with the below calculation of the
article? So, you think the 35M page file is not correct?
No it's not correct. There is no way to calculate the amount of
data in the pagefile from the supplied variables, even approximately.
It is good that we both agree that the calculation from the article 35M is
not correct. Actually, almost all of my confusion comes from the article.
2.
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? :-)
3.
"Paging File\% Usage" perf counter can be used for this.
There is another way.
http://msdn2.microsoft.com/en-us/library/aa366586.aspx
regards,
George
"Pavel Lebedinsky [MSFT]" wrote:
.A quick question, since I am using Windows Server 2003
(Vista is good, but I am not using it in this application), and
the PF value means physical memory + paged file, right?
Not quite. As I mentioned before, PF Usage is actually the
system commit charge. Some things occupy physical memory
but are not reflected in the commit charge (for example,
pages backed by memory mapped files). 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).
So, we need to use the way the article mentioned to
calculate the size of page file itself, as there is no direct data in task
manager. Are there any other straightforward ways to calculate page file
itself?
"Paging File\% Usage" perf counter can be used for this.
Seems you mean there is something wrong with the below calculation of the
article? So, you think the 35M page file is not correct?
No it's not correct. There is no way to calculate the amount of
data in the pagefile from the supplied variables, even approximately.
--
This posting is provided "AS IS" with no warranties, and confers no
rights.
- Follow-Ups:
- Re: available memory from task manager
- From: Pavel Lebedinsky [MSFT]
- Re: available memory from task manager
- References:
- Re: available memory from task manager
- From: Pavel Lebedinsky [MSFT]
- Re: available memory from task manager
- From: George
- Re: available memory from task manager
- From: Pavel Lebedinsky [MSFT]
- Re: available memory from task manager
- Prev by Date: Re: system idle process
- Next by Date: compile error about void*
- Previous by thread: Re: available memory from task manager
- Next by thread: Re: available memory from task manager
- Index(es):
Relevant Pages
|