FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory [Solved] #1055
lucafalefoto
started this conversation in
Tips, Tricks, & Resources
Replies: 1 comment
-
Thank you for this tip @lucafalefoto. I will be sure to add this to the documentation! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
While running
quire preview
, I encountered the following error:In my case, this happened because the project contains many high-resolution images, and Node.js has a default memory limit that was being exceeded.
If you run into the same issue, you can increase the memory limit by starting
quire preview
like this:NODE_OPTIONS="--max-old-space-size=4096" quire preview
This raises the available memory to 4 GB and should prevent the error. You can adjust the number (e.g., 8192 for 8 GB) if your system has enough RAM.
Just for your info, but this tip should possibly be included in Quire's documentation, maybe here: https://quire.getty.edu/docs-v1/quire-commands/
Thanks for your attention.
Beta Was this translation helpful? Give feedback.
All reactions