-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Description
I would like to request some clarification on the docs in regards to workers and heap usage in particular when setting memory limits.
e.g. we have a Node service running in a docker container with a memory limit of 1G. We set the --max-old-space-size
to =768
. However, the node service will spawn 16 worker threads. Will these threads share old space size with the main process or do they all have their own heaps with e.g. 768M which gives a global heap size of 17 * 768 = 13 056M and getting itself killed by the OOM killer.
Also how do the rules apply to child processes and inheritance of old-space-size settings?
gsbelarus, jimmydief and ankurparihar
Metadata
Metadata
Assignees
Labels
No labels