You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?