Re: [python-win32] gc does not free memory [SEC=PERSONAL]

2008-02-18 Thread Andrew MacIntyre
> I am trying to understand Python's garbage collection mechanism. I > have a long running program (actually a shell > extension) that needs to allocate large arrays occasionally, which I'd > del after use, then call > gc.collect() to collect them. But although gc.get_objects() reported > the ar

[python-win32] gc does not free memory

2008-02-17 Thread TK Soh
I am trying to understand Python's garbage collection mechanism. I have a long running program (actually a shell extension) that needs to allocate large arrays occasionally, which I'd del after use, then call gc.collect() to collect them. But although gc.get_objects() reported the arrays have been