Skip to content

Commit 87ec525

Browse files
authored
docs(contributing): document how to get around node out of memory error (#26465)
Closes #26415 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent a9e2789 commit 87ec525

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CONTRIBUTING.md

+2
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ Note: `lerna` uses a local cache by default. If your build fails, you can fix
108108
the issue and run the command again and it will not rerun any previously
109109
successful steps.
110110

111+
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"`.
112+
111113
At this point, you can run build and test the `aws-cdk-lib` module by running
112114

113115
```console

0 commit comments

Comments
 (0)