Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(package.json): set JS heap to 3 GB for typescript compilation #3266

Merged

Commits on May 17, 2024

  1. build(package.json): set JS heap to 3 GB for typescript compilation

    On a laptop with 16 GB RAM the default JS heap size is not enough anymore
    to do a full typescript build of the project from scratch.
    
    The size of the heap for NodeJS processes gets determined at runtime by
    an algorithm that (most likely) depends on the total RAM in your computer:
    https://stackoverflow.com/a/75555120
    
    For laptops with 16 GB RAM or less, the heap ends up being calculated to
    an amount that is too low at this size of the project so we have to give
    it a little nudge by specifying the parameter for heap size explicitly to
    be 3 GB instead of the default.
    
    Signed-off-by: Peter Somogyvari <[email protected]>
    petermetz committed May 17, 2024
    Configuration menu
    Copy the full SHA
    b0faa6d View commit details
    Browse the repository at this point in the history