shooter714 has asked for the wisdom of the Perl Monks concerning the following question:
I need to use the IPC::Open2 module to write data into and retrieve data from another program inside a perl script. I need to do this many many times, but after awhile I get the error message:
open2: fork failed: cannot allocate memory at line whatever
My question is: is this some shell error and is it fixable or does the system on my computer just not have enough RAM to complete the program? Or something else? I have a line to delete child processes once I'm done with them so they don't turn into zombies btw. Thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cannot allocate enough memory to fork
by jethro (Monsignor) on Apr 10, 2010 at 01:45 UTC | |
|
Re: cannot allocate enough memory to fork
by graff (Chancellor) on Apr 10, 2010 at 04:35 UTC | |
|
Re: cannot allocate enough memory to fork
by BrowserUk (Patriarch) on Apr 10, 2010 at 01:38 UTC | |
|
Re: cannot allocate enough memory to fork
by cdarke (Prior) on Apr 10, 2010 at 13:36 UTC |