in reply to cannot allocate enough memory to fork

Do you need to have "many many" processes running concurrently? If not, are you sure that all those processes are being shut down and cleaned up (not being left as zombies, not hanging around waiting for more input, etc)? (OTOH, if you think you do need lots of processes running concurrently, you'll need to explain your situation a little better.)

The "memory allocation" problem might be with respect to some particular property of your OS (like, space available for process management), but that's just a guess. I'm also guessing that the code at "line whatever" may be the least of your problems.

  • Comment on Re: cannot allocate enough memory to fork