simplier would be set ulimit -n to 65536 (probably in /etc/security/limits.conf)
2010/11/29 Amaury Forgeot d'Arc <[email protected]>: > 2010/11/29 Paolo Giarrusso <[email protected]> >> >> 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 > > _______________________________________________ > [email protected] > http://codespeak.net/mailman/listinfo/pypy-dev > _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
