[python-win32] How to calc amount of avail RAM in a process ?

Tony Cappellini cappy2112 at gmail.com
Fri Jan 30 19:57:27 CET 2009


While monitoring The task manager/Performance Tab

It seems as though Windows XP is almost always paging, even when all of
available memory
is not being used.

This doesn't make sense and seems to be wasteful. Why should the OS be
wasting time paging, when it doesn't need to (aka when all of available
physical ram has not been used)?

> I would caution you not to draw any conclusions based on the physical
> numbers.  You WANT your system to be using all of its physical memory.
> Unused physical memory is just wasted money.  The operating system will
> page things in and out as needed, on a demand basis, to make sure that
> pages you are really USING stay in memory.  The other pages will be used
> by DLLs, other processes, and disk caching.  Also remember that, if the
> page file gets low, the system will allocate more.
> --
> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20090130/3e21ee30/attachment.htm>

More information about the python-win32 mailing list