You might want to test with the following script
pid = os.getpid()
a2 = os.popen('ps -p %d -o rss,sz' % pid).readlines()
print i, ' ', a2,
for i in range(100):
You should see little or no leak if everything checks out.
On Wed, 2005-09-07 at 16:15 +0100, Nicholas Young wrote:
>> I've attached a patch to CVS with the necessary changes below.
>> There are some issues here:
> My patch contained memory leaks which I've fixed in the
> attachment - but I'm not that experienced in c/c++ so
> there could be more I haven't noticed.