Re: Wierd behavior of gc.collect

2013-03-19 Thread Bodhi
Thanks for the info. I now suspect that the free lists are taking up the memory which won't be released unless we do a collect. I'm verifying that. On Tuesday, March 19, 2013 10:43:11 PM UTC+5:30, Dave Angel wrote: > On 03/19/2013 12:36 PM, Bodhi wrote: > > > I know th

Re: Wierd behavior of gc.collect

2013-03-19 Thread Bodhi
On 03/19/2013 11:47 AM, Bodhi wrote: > > > I have a python process that does some operations and is supposed to > > release memory after those. The issue is that memory is not released (as > > seen through top). So I do a gc.collect() to see if there is any cycle etc. &g

Wierd behavior of gc.collect

2013-03-19 Thread Bodhi
I have a python process that does some operations and is supposed to release memory after those. The issue is that memory is not released (as seen through top). So I do a gc.collect() to see if there is any cycle etc. Immediately after doing the collect memory usage drops as expected, but strang