Skip to content

Can we document --max_old_space_size or is it deprecated? #7937

Closed
@GeorgeBailey

Description

@GeorgeBailey

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions