Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #67892

Re: script uses up all memory

References <CACwCsY65gpn_Zx78wquE-rmrZu10pu9GYbzWd-Y3ypzHsMb2Yw@mail.gmail.com>
Date 2014-03-06 09:39 +1100
Subject Re: script uses up all memory
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.7846.1394059196.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Mar 6, 2014 at 9:27 AM, Larry Martell <larry.martell@gmail.com> wrote:
> I have a script that forks off other processes and attempts to manage
> them. Here is a stripped down version of the script:
>
>         self.sleepTime = 300

That's not a stand-alone script. What environment is it running in?
Can you reproduce the problem outside of that environment?

Also: Can you simply use multiprocessing rather than going through all
the effort of subprocess.Popen?

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: script uses up all memory Chris Angelico <rosuav@gmail.com> - 2014-03-06 09:39 +1100

csiph-web