Skip to content

Mitigating the "JavaScript heap out of memory" error that occurs while building a site #10523

Answered by slorber
allenscha asked this question in Q&A
Discussion options

You must be logged in to vote

I'm sorry to hear you encounter memory issues @allenscha

Unfortunately, I'm not super familiar with memory profiling (although I plan to learn soon) and can't really tell you what cause the memory increase so far. We don't have any tooling to monitor a possible memory regression on PR and it would be quite difficult to find back which past commit lead to an increase in memory consumption. Even if I dig into memory problems on our site, it's possible that your site is affected by something else that we don't use.

It would be interesting to run your site under multiple versions from v3.0 to v3.4 to at least see if the regression comes from a major. Also helpful to remove the newly added doc…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by allenscha
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants