memory profiling

David McCaw dam at parasoft.com
Wed Jun 13 18:48:24 EDT 2001


We at ParaSoft have a tool called Insure++ that is able to track
memory problems in C and C++.  In fact,
PPython Labs uses Insure++ to find bugs on the Linux platform.  If
you'd like to try it out,
feel free to email me.  For more info, you can go to
http://www.parasoft.com


David McCaw
dam at parasoft.com

matthew.russell at securetrading.com (Matt Russell) wrote in message news:<bb06817.0106130150.46ec5cfa at posting.google.com>...
> I am aslo interested in finding a way to track memory leaks in python
> programs.
> Does one have to have the module resource.c compiled into the
> interpreter B 4 using something such as memprof_c or are their other
> tools availble for tracking memory leaks?
> 
> 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