Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50851
| From | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| Subject | Re: Why on CentOS, python consumes too much memory ? |
| Date | 2013-07-18 09:21 +0000 |
| References | <9c8ca067-a230-406a-95f6-12af80da1728@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4836.1374139282.3114.python-list@python.org> (permalink) |
<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, it reports memory > error(exceeding 200M). Take a look at http://www.selenic.com/smem/ for accurate measurement of actual memory consumption under Linux. Virtual memory size is generally useless for this purpose. Regards Antoine.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Why on CentOS, python consumes too much memory ? snowingbear@gmail.com - 2013-07-17 21:45 -0700
Re: Why on CentOS, python consumes too much memory ? William Bai <snowingbear@gmail.com> - 2013-07-18 02:13 -0700
Re: Why on CentOS, python consumes too much memory ? Michael Torrie <torriem@gmail.com> - 2013-07-18 07:51 -0600
Re: Why on CentOS, python consumes too much memory ? Antoine Pitrou <solipsis@pitrou.net> - 2013-07-18 09:21 +0000
csiph-web