Re: Looping-related Memory Leak

2008-07-01 Thread Tom Davis
On Jun 30, 8:24 pm, Carl Banks <[EMAIL PROTECTED]> wrote: > On Jun 30, 1:55 pm, Tom Davis <[EMAIL PROTECTED]> wrote: > > > > > On Jun 26, 5:38 am, Carl Banks <[EMAIL PROTECTED]> wrote: > > > > On Jun 26, 5:19 am, Tom Davis <[EMAIL PROTECTED]> wrote: > > > > > I am having a problem where a long-runn

Re: Looping-related Memory Leak

2008-07-01 Thread Tom Davis
On Jun 30, 3:12 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Mon, 30 Jun 2008 10:55:00 -0700, Tom Davis wrote: > > To me, this seems illogical. I can understand that the GC is > > reluctant to reclaim objects that have many connections to other > > objects and so forth, but once th

Re: Looping-related Memory Leak

2008-06-30 Thread Carl Banks
On Jun 30, 1:55 pm, Tom Davis <[EMAIL PROTECTED]> wrote: > On Jun 26, 5:38 am, Carl Banks <[EMAIL PROTECTED]> wrote: > > > > > On Jun 26, 5:19 am, Tom Davis <[EMAIL PROTECTED]> wrote: > > > > I am having a problem where a long-running function will cause a > > > memory leak / balloon for reasons I

Re: Looping-related Memory Leak

2008-06-30 Thread Marc 'BlackJack' Rintsch
On Mon, 30 Jun 2008 10:55:00 -0700, Tom Davis wrote: > To me, this seems illogical. I can understand that the GC is > reluctant to reclaim objects that have many connections to other > objects and so forth, but once those objects' scopes are gone, why > doesn't it force a reclaim? For instance,

Re: Looping-related Memory Leak

2008-06-30 Thread Tom Davis
On Jun 26, 5:38 am, Carl Banks <[EMAIL PROTECTED]> wrote: > On Jun 26, 5:19 am, Tom Davis <[EMAIL PROTECTED]> wrote: > > > I am having a problem where a long-running function will cause a > > memory leak / balloon for reasons I cannot figure out. Essentially, I > > loop through a directory of pick

Re: Looping-related Memory Leak

2008-06-26 Thread Peter Otten
Tom Davis wrote: > I am having a problem where a long-running function will cause a > memory leak / balloon for reasons I cannot figure out. Essentially, I > loop through a directory of pickled files, load them, and run some > other functions on them. In every case, each function uses only local

Re: Looping-related Memory Leak

2008-06-26 Thread Carl Banks
On Jun 26, 5:19 am, Tom Davis <[EMAIL PROTECTED]> wrote: > I am having a problem where a long-running function will cause a > memory leak / balloon for reasons I cannot figure out. Essentially, I > loop through a directory of pickled files, load them, and run some > other functions on them. In ev

Looping-related Memory Leak

2008-06-26 Thread Tom Davis
I am having a problem where a long-running function will cause a memory leak / balloon for reasons I cannot figure out. Essentially, I loop through a directory of pickled files, load them, and run some other functions on them. In every case, each function uses only local variables and I even made