best way to discover this process's current memory usage, cross-platform?

Alex Martelli aleax at mail.comcast.net
Tue Nov 15 17:00:16 EST 2005


MrJean1 <MrJean1 at gmail.com> wrote:

> This may work on MacOS X.  An initial, simple test does yield credible
> values.

Definitely looks promising, thanks for the pointer.

> However, I am not a MacOS X expert.  It is unclear which field of the
> malloc_statistics_t struct to use and how malloc_zone_statistics with
> zone NULL accumulates the stats for all zones.

It appears that all of this stuff is barely documented (if at all), not
just online but also in books on advanced MacOS X programming.  Still, I
can research it further, since, after all, the opendarwin sources ARE
online.  Thanks again!


Alex



More information about the Python-list mailing list