Re: Are there any decent python memory profilers available?

2005-07-19 Thread Michael Hudson
[EMAIL PROTECTED] writes:

 I have a rather large python application (uses around 40MB of memory to
 start) that gradually chews up memory over many hours. I've done a
 little googling around, but it looks like I'm faced with prowling
 through the gc.get_objects() myself. I need a tool to identify where
 the memory is going. It might even be a leak in a DLL, so maybe a pure
 python profiler isn't the best, although it would certainly help
 localize the problem.

One is being written as part of Google's Summer Of Code program.

Cheers,
mwh

-- 
  Java sucks. [...] Java on TV set top boxes will suck so hard it
  might well inhale people from off  their sofa until their heads
  get wedged in the card slots.  --- Jon Rabone, ucam.chat
-- 
http://mail.python.org/mailman/listinfo/python-list


Are there any decent python memory profilers available?

2005-07-13 Thread lthompson
I have a rather large python application (uses around 40MB of memory to
start) that gradually chews up memory over many hours. I've done a
little googling around, but it looks like I'm faced with prowling
through the gc.get_objects() myself. I need a tool to identify where
the memory is going. It might even be a leak in a DLL, so maybe a pure
python profiler isn't the best, although it would certainly help
localize the problem.

-- 
http://mail.python.org/mailman/listinfo/python-list


RE: Are there any decent python memory profilers available?

2005-07-13 Thread Meyer, Tony
 Are there any decent python memory profilers available?

As part of Google's summer of code, Nick Smallbone (mentored by Michael 
Hudson and Jeremy Hylton) will be developing a Python memory profiler.
 
I think the fact that this was a project suggestion by the PSF, and that it was 
accepted, is reasonable evidence that there isn't an existing profiler (or if 
there is, there isn't one that is sufficient for most purposes).
 
The good news is that at the end of 'summer' (winter, here ;) there may well be 
a (free) profiler that you can use.  The bad news is that this probably isn't 
the case now.
 
http://wiki.python.org/moin/SummerOfCode
 
=Tony.Meyer
-- 
http://mail.python.org/mailman/listinfo/python-list