From bd32f53a32eba6ad9236236a14d952baa8e03493 Mon Sep 17 00:00:00 2001 From: Diljit Date: Mon, 6 Jan 2025 14:59:05 +0530 Subject: [PATCH] chore: increase craco --max-old-space-size to 10240 (#38494) ## Description > [!TIP] > _Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team)._ > > _Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR._ Fixes #`Issue Number` _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="" ### :mag: Cypress test results > [!CAUTION] > If you modify the content in this section, you are likely to disrupt the CI result for your PR. ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No ## Summary by CodeRabbit - **Chores** - Updated build script to allocate more memory for the build process, potentially improving build performance and stability. --- app/client/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/build.sh b/app/client/build.sh index 146c6d355f..c42a32a0c3 100755 --- a/app/client/build.sh +++ b/app/client/build.sh @@ -18,6 +18,6 @@ export REACT_APP_SENTRY_RELEASE=$GIT_SHA export REACT_APP_CLIENT_LOG_LEVEL=ERROR # Disable CRA built-in ESLint checks since we have our own config and a separate step for this export DISABLE_ESLINT_PLUGIN=true -craco --max-old-space-size=7168 build --config craco.build.config.js +craco --max-old-space-size=10240 build --config craco.build.config.js echo "build finished"