2010/11/29 Paolo Giarrusso <p.giarru...@gmail.com> > Inspection of the pypy process confirms a leak of file handles to the > XML files. Whether it is GC not being invoked, a missing destructor, > or simply because the code should release file handles, I dunno. Is > there a way to trigger explicit GC to workaround such issues? >
As usual: import gc gc.collect() Calling gc.collect() is indeed a good idea if the code does not explicitly close the files. -- Amaury Forgeot d'Arc
_______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev