Is memory usage better with One Big Process or many small Processes? Is memory usage better with One Big Process or many small Processes? unix unix

Is memory usage better with One Big Process or many small Processes?


Running a single process will use less RAM of course, but it makes it difficult to take advantage of multiple cpus/cores.

If you don't care how long it takes, run a single process.

As a compromise, you could run just a few processes at a time instead of launching them all at once.