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.
In reply to cannot allocate enough memory to fork by shooter714
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |