Below is reference pattern: <br><br> 0: _ --- [-] 4 &lt;size = 6280&gt;: 0xa70ca44, 0xa70e79c, 0xe5c602c, 0xe6219bc<br> 1: a      [-] 4 tuple: 0xab11c5c*3, 0xe72a43c*3, 0xe73c16c*3, 0xe73c1bc*3<br> 2: aa ---- [-] 4 function: ABC.l_codecs.decode...<br>
 3: a3       [S] 2 dict of class: ..Codec, ..Codec<br> 4: aab ---- [-] 4 types.MethodType: &lt;ABC at 0x...<br> 5: aaba      [-] 2 tuple: 0xe72a2d4*4, 0xe734d24*4<br> 6: aabaa ---- [-] 2 dict (no owner): 0x9b029bc*2, 0xb789f24cL*6<br>
 7: aaba3       [S] 1 dict of class: ..ABC<br> 8: aabaab ---- [-] 1 tuple: 0x9b10f8c*2<br> 9: aabaaba      [+] 1 function: ABC.__l_codecs<br><br><br><div class="gmail_quote">On Thu, Sep 15, 2011 at 12:26 PM, Jai Sharma <span dir="ltr">&lt;<a href="mailto:jai.unix@gmail.com">jai.unix@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi, <br><br>I am facing a memory leaking issue with codecs. I make my own ABC class and register it with codes.<br>
<br>import codecs<br>codecs.register(ABC)<br><br>but I am not able to remove ABC from memory. Is there any alternative to do that. <br>
<br>Thanks <br><br><br><br>
</blockquote></div><br>