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

Gatsby Crash: JavaScript heap out of memory! #13

Open
MattReimer opened this issue Jan 2, 2024 · 0 comments
Open

Gatsby Crash: JavaScript heap out of memory! #13

MattReimer opened this issue Jan 2, 2024 · 0 comments
Assignees
Labels
🐛 bug Something isn't working Gatsby Anything related specifically to Gatsby

Comments

@MattReimer
Copy link
Member

This one seems to only happen sometimes and is very hard to reproduce.

Here are the full logs:

https://gist.github.com/philipbaileynar/0aab128b94e5d466bcd38d8701045c49

As you can see even if we set the maxmium memory to 8192 Mb using --max-old-space-size=8192 we're still maxing it out.

Could be related to the following:

Potential fixes:

  1. We could try upping the memory even more but 8192 is already pretty ridiculous for a webpage
  2. Enable DEV_SSR
@MattReimer MattReimer added the 🐛 bug Something isn't working label Jan 2, 2024
@MattReimer MattReimer self-assigned this Jan 2, 2024
@MattReimer MattReimer added the Gatsby Anything related specifically to Gatsby label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working Gatsby Anything related specifically to Gatsby
Projects
None yet
Development

No branches or pull requests

1 participant