Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12532
| From | Gregory Ewing <greg.ewing@canterbury.ac.nz> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: PC locks up with list operations |
| Date | 2011-09-01 11:31 +1200 |
| Message-ID | <9c7uihF6feU1@mid.individual.net> (permalink) |
| References | <4e5e2a0c$0$29965$c3e8da3$5496439d@news.astraweb.com> <mailman.599.1314794452.27778.python-list@python.org> <4e5e2d81$0$29991$c3e8da3$5496439d@news.astraweb.com> |
Steven D'Aprano wrote:
> As far as I know, ulimit ("user limit") won't help. It can limit the amount
> of RAM available to a process, but that just makes the process start using
> virtual memory more quickly.
ulimit -v is supposed to set the maximum amount of virtual
memory the process can use.
> It can also limit the amount of virtual memory
> used by the shell, but not of other processes.
That doesn't sound right. Not sure about Linux, but the
man page for sh on Darwin says:
Provides control over the resources available to the shell and
to processes started by it, on systems that allow such control.
The Python process should also be able to set its own
limits using resource.setrlimit().
--
Greg
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
PC locks up with list operations Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-08-31 22:33 +1000
Re: PC locks up with list operations Chris Withers <chris@simplistix.co.uk> - 2011-08-31 13:40 +0100
Re: PC locks up with list operations Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-08-31 22:47 +1000
Re: PC locks up with list operations Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-09-01 11:31 +1200
Re: PC locks up with list operations Tim Chase <python.list@tim.thechases.com> - 2011-08-31 19:53 -0500
Re: PC locks up with list operations Nobody <nobody@nowhere.com> - 2011-09-12 13:19 +0100
Re: PC locks up with list operations Robert Spanjaard <spamtrap@arumes.com> - 2011-08-31 16:06 +0200
Re: PC locks up with list operations John Nagle <nagle@animats.com> - 2011-09-15 12:27 -0700
Re: PC locks up with list operations Benjamin Kaplan <benjamin.kaplan@case.edu> - 2011-08-31 08:49 -0400
Re: PC locks up with list operations Carl Banks <pavlovevidence@gmail.com> - 2011-09-13 06:31 -0700
Re: PC locks up with list operations Peter Otten <__peter__@web.de> - 2011-08-31 14:56 +0200
Re: PC locks up with list operations Rodrick Brown <rodrick.brown@gmail.com> - 2011-08-31 10:13 -0400
Re: PC locks up with list operations Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-09-12 18:44 +1000
Re: PC locks up with list operations Roy Smith <roy@panix.com> - 2011-09-12 07:40 -0400
Re: PC locks up with list operations Terry Reedy <tjreedy@udel.edu> - 2011-09-12 16:53 -0400
csiph-web