I found that it was caused by not by python but by
/usr/lib/locale/locale-archive, the same problem as that described in
http://illiterat.livejournal.com/4615.html.
William
在 2013年7月18日星期四UTC+8下午12时45分01秒,William Bai写道:
Hi:
Previously, we found that our python scripts consume too
snowingbear at gmail.com writes:
Hi:
Previously, we found that our python scripts consume too much memory.
So I use
python's resource module to
restrict RLIMIT_AS's soft limit and hard limit to 200M.
On my RHEL5.3(i386)+python2.6.2, it works OK. But on CentOS
6.2(x86_64)+python2.6.6,
On 07/18/2013 03:13 AM, William Bai wrote:
I found that it was caused by not by python but by
/usr/lib/locale/locale-archive, the same problem as that described
in http://illiterat.livejournal.com/4615.html.
Too funny. So in other words there isn't a problem at all. What you
thought was RAM
Hi:
Previously, we found that our python scripts consume too much memory. So I
use python's resource module to restrict RLIMIT_AS's soft limit and hard limit
to 200M.
On my RHEL5.3(i386)+python2.6.2, it works OK. But on CentOS
6.2(x86_64)+python2.6.6, it reports memory error(exceeding