memory profiling
Matt Russell
matthew.russell at securetrading.com
Wed Jun 13 05:47:49 EDT 2001
I am also interseted to see how this achieved!
Does the resource.c module need to be compiled into the python
interpreter before such memory leak chasing can be performed
successfully or is their another tool that can help?
TIA.
Matt
Geoffrey Gerrietts <geoff at homegain.com> wrote in message news:<mailman.992396419.8759.python-list at python.org>...
> I'm sure this question has been asked and answered a few times now, but I
> can't seem to find an answer for it, either in the FAQ or in the newsgroup
> archives.
>
> How do people do memory profiling in python? I'd like to compare, for
> instance, the memory consumed by a dictionary-based approach versus a list
> or tuple based approach. I've seen the tool in mxTools, sizeof, which is
> nice, but that doesn't seem to address the big "random" factor, the empty
> pointers in the dictionary.
>
> Does a tool exist that will let me measure this in some reasonably
> straightforward way? Are other people doing any kind of memory profiling, or
> do folks just "eyeball it"? Am I missing something blatantly and plainly
> obvious that I should be embarassed for not seeing?
>
> Thanks in advance,
> --G.
>
> ---
> Geoff Gerrietts <geoff at homegain.com>
> Software Engineer, HomeGain.com
> 510-655-0800 x4320
More information about the Python-list
mailing list