Skip to content

Instantly share code, notes, and snippets.

@MarsiBarsi
Created August 12, 2020 13:13
Show Gist options
  • Save MarsiBarsi/54795f4f97504f5767481b9bb1aa9914 to your computer and use it in GitHub Desktop.
Save MarsiBarsi/54795f4f97504f5767481b9bb1aa9914 to your computer and use it in GitHub Desktop.
How to avoid heap out of memory in nodejs
{
"scripts": {
"build": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod --configuration=production"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment