Author pitrou
Recipients bob.ippolito, pitrou, rhettinger, swalker, vkuznet
Date 2009-12-07.15:43:10
SpamBayes Score 0.00169268
Marked as misclassified No
Message-id <1260200622.3381.2.camel@localhost>
In-reply-to <1260200314.75.0.0345659493402.issue6594@psf.upfronthosting.co.za>
Content
> Nope, all three json's implementation do not release the memory. I used 
> your patched one, the one shipped with 2.6 and cjson. The one which comes 
> with 2.6, reach 2GB, then release 200MB and stays with 1.8GB during 
> sleep. The cjson reaches 1.5GB mark and stays there. But all three 
> release another 100-200MB just before the exit (one top cycle before 
> process disappear). I used sleep of 20 seconds, so I'm pretty sure memory 
> was not released during that time, since I watched the process with idle 
> CPU.

Do you destroy the decoded data, though? If you keep it in memory
there's no chance that a lot of memory will be released.
History
Date User Action Args
2009-12-07 15:43:12pitrousetrecipients: + pitrou, rhettinger, bob.ippolito, swalker, vkuznet
2009-12-07 15:43:10pitroulinkissue6594 messages
2009-12-07 15:43:10pitroucreate