Closed
Description
I have some Node.JS processes taking more memory than I think they require. I suspect this is due to lazy GC.
In my case, I have several Node.JS processes running, across 3 user accounts. (root
and two others)
After searching, it seems that I can limit the amount of 'unused' space that is held in memory by simply using the --max_old_space_size=X
option. Where X
is the number of megabytes allowed.
However, this does not seem to be documented so I am a little concerned that I should not be using it. Can this be documented, or is it deprecated?
Metadata
Metadata
Assignees
Labels
No labels