Docusaurus for large documentation site - JavaScript heap out of memory #7410
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: duplicate
This issue or pull request already exists in another issue or pull request
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Here is the link to build log
Similar #1782 #3132
The workaround is to use
export NODE_OPTIONS="--max-old-space-size=SOME_LARGE_NUM"
,but in my case I am using github actions, which only support 14GB RAM maxReproducible demo
No response
Steps to reproduce
Need a Large documentation site. Here is the link to my repository, which generated large documentation site during
build
Expected behavior
Should build
Actual behavior
Build fails
Your environment
No response
Self-service
The text was updated successfully, but these errors were encountered: