How to get memory usage on Windows?
gmuller at worldonline.nl
Sun Sep 22 18:03:17 CEST 2002
Searching in books , documentation (a.o. win32api) and net did not yet help
I found this article on the net:
but how to call this function from Python?
The module GC is mentioned with respect to memory leaks, but as far a I
could find, no status information can be obtained.
I would expect that in the run time information the size information is
present. Can this be accessed from Python itself?
"GerritM" <gmuller at worldonline.nl> schreef in bericht
news:amilhk$bi8$1 at reader1.tiscali.nl...
> I am building an access log analyzer. For the first version I did not
> about performance or memory use, the first exploration was about what is
> practical information to extract and how to present. For current result
> For the second version memory use becomes an issue. The brute force
> keeps all information simultaneously in memory, without any size
> optimization. This results now in memory use of about 250 MByte (measured
> via very coarse windows resource tool), which scales linear with the
> of (ever increasing) input. I would like to be able to measure more
> how much memory is used per phase and/or per function. Is there any
> returning this information. I noted that on Unix the resource module gives
> access to this kind of information, but I could not find any Windows
> regards Gerrit
More information about the Python-list