Re: Tracking memory usage and object life time.

2007-09-26 Thread Istvan Albert
On Sep 26, 8:06 am, Berteun Damman <[EMAIL PROTECTED]> wrote: > that have been created after I don't need them anymore. I furthermore > don't really see why there would be references to these larger objects > left. (I can be mistaken of course). This could be tricky because you have a graph that

Re: Tracking memory usage and object life time.

2007-09-26 Thread Berteun Damman
On Sep 26, 2:31 pm, Bjoern Schliessmann wrote: > Did you check the return value of gc.collect? Also, try using > other "insight" facilities provided by the gc module. gc.collect states it cannot find any unreachable objects. Meanwhile the number of objects the garbage collector has to keep track o

Re: Tracking memory usage and object life time.

2007-09-26 Thread Bjoern Schliessmann
Berteun Damman wrote: > When I run a test, I disable the garbage collection during the > test run (as is adviced), but just before starting a test I > instruct the garbage collector to collect. Running the test > without disabling the garbage collect doesn't show any difference > though. Did you

Re: tracking memory usage

2007-03-19 Thread kyosohma
On Mar 19, 11:34 am, "Erik Johnson" <[EMAIL PROTECTED]> wrote: > Sort of two questions here: > > The first is about the internal view: are there Python introspection > functions that can be called such that a running script can keep tabs on how > much memory is being used? > > And the sec