Skip to content

Commit

Permalink
docs(contributing): document how to get around node out of memory err…
Browse files Browse the repository at this point in the history
…or (aws#26465)

Closes aws#26415 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
bun913 authored and bmoffatt committed Jul 28, 2023
1 parent 7d2fa73 commit e0ae517
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ Note: `lerna` uses a local cache by default. If your build fails, you can fix
the issue and run the command again and it will not rerun any previously
successful steps.

Note: If you encounter `ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory`, please try running the command with increased memory by using `export NODE_OPTIONS="--max-old-space-size=8192"`.

At this point, you can run build and test the `aws-cdk-lib` module by running

```console
Expand Down

0 comments on commit e0ae517

Please sign in to comment.