Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: docker compose failed with " JavaScript heap out of memory" #3335

Open
settur1409 opened this issue Oct 7, 2024 · 4 comments
Open
Labels
bug Something isn't working

Comments

@settur1409
Copy link

What happened?

cloned this repo.
updated .env with appropriate supabase and grow API keys.
getting error when performing, docker compose -f docker-compose.yml up --build

Relevant log output

=> ERROR [frontend builder 4/4] RUN yarn build                                                                                        148.4s
------
 > [frontend builder 4/4] RUN yarn build:
2.385 yarn run v1.22.19
2.671 $ next build
15.87 Attention: Next.js now collects completely anonymous telemetry regarding usage.
15.89 This information is used to shape Next.js' roadmap and prioritize features.
15.89 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
15.89 https://nextjs.org/telemetry
15.89 
16.84    ▲ Next.js 14.1.0
16.84    - Experiments (use at your own risk):
16.84      · instrumentationHook
16.84 
17.68    Creating an optimized production build ...
46.90 Browserslist: caniuse-lite is outdated. Please run:
46.90   npx update-browserslist-db@latest
46.90   Why you should do it regularly: https://github.com/browserslist/update-db#readme
120.1 
120.1 <--- Last few GCs --->
120.1 
120.1 [26:0x7f6c03a77060]   115373 ms: Scavenge (reduce) 1843.3 (2005.3) -> 1843.3 (2006.3) MB, 23.8 / 0.0 ms  (average mu = 0.803, current mu = 0.253) allocation failure; 
120.1 [26:0x7f6c03a77060]   117100 ms: Mark-sweep (reduce) 1949.9 (2112.9) -> 1862.6 (2090.7) MB, 247.0 / 0.1 ms  (+ 122.1 ms in 661 steps since start of marking, biggest step 7.1 ms, walltime since start of marking 3051 ms) (average mu = 0.854, current mu = 0.
120.1 
120.1 <--- JS stacktrace --->
120.1 
120.1 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
148.1 error Command failed with signal "SIGABRT".
148.1 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 1

Twitter / LinkedIn details

No response

@settur1409 settur1409 added the bug Something isn't working label Oct 7, 2024
Copy link

linear bot commented Oct 7, 2024

@settur1409
Copy link
Author

CORE-226 [Bug]: docker compose failed with " JavaScript heap out of memory"

I don't have permission to view this page.
image

@maryinthelab
Copy link

Same error here, and also can’t access the doc that’s being attached.

@ChangjunDAI
Copy link

I meet the same error and can’t access the doc that’s being attached as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants