[pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

Piotr Skamruk piotr.skamruk at gmail.com
Mon Nov 29 22:29:26 CET 2010


simplier would be set ulimit -n to 65536 (probably in /etc/security/limits.conf)

2010/11/29 Amaury Forgeot d'Arc <amauryfa at gmail.com>:
> 2010/11/29 Paolo Giarrusso <p.giarrusso at 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 at codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-dev
>



More information about the Pypy-dev mailing list