After a handful, maybe 5-10 builds my au run process dies with a javascript heap out of memory error. Does anyone else have this issue? I’m considering leaving webpack once and for all and this might be the final nail for me
1 Like
I think you can try bare webpack first, if the problem persists then maybe make a move.
Hi, I have experienced this for rather large projects. Node’s heap memory allocation is 1.76Gb by default at least on my mac.
On my mac I override this by setting the environment variable
NODE_OPTIONS="–max-old-space-size=2048".
Docs say you can raise it up to 8192.
Regards.
2 Likes
Maybe that is it, I am working with a semi large project and it will only get larger at this point. Thanks
1 Like