This StackOverflow answer seems to match what we are seeing; as always, there is no simple answer:
http://stackoverflow.com/a/13329386/77939
One proposed solution was to fork() subprocesses early, before the parent process starts using extreme amounts of memory. For example, by forking a daemon early on which will be responsible for running subprocesses:
https://github.com/greyside/errand-boy
This StackOverflow answer seems to match what we are seeing; as always, there is no simple answer:
http:// stackoverflow. com/a/13329386/ 77939
One proposed solution was to fork() subprocesses early, before the parent process starts using extreme amounts of memory. For example, by forking a daemon early on which will be responsible for running subprocesses:
https:/ /github. com/greyside/ errand- boy