<div class="gmail_quote">2010/11/29 Paolo Giarrusso <span dir="ltr">&lt;<a href="mailto:p.giarrusso@gmail.com">p.giarrusso@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":n">Inspection of the pypy process confirms a leak of file handles to the<br>
XML files. Whether it is GC not being invoked, a missing destructor,<br>
or simply because the code should release file handles, I dunno. Is<br>
there a way to trigger explicit GC to workaround such issues?</div></blockquote></div><div><br></div><div>As usual:</div>    import gc<div>    gc.collect() </div><div><br>Calling gc.collect() is indeed a good idea if the code does not explicitly close the files.<br clear="all">
<br>-- <br>Amaury Forgeot d&#39;Arc<br>
</div>