build exceeded memory limit (on a very large NextJS app)

Hey there, I've got a relatively large nextjs project and I'm running into the "build exceeded memory limit" - This is the first time I've created a build since the last 2 weeks and I've not added "thaat" much to it, so I'm a bit confused about it. Anyone able to help me out? (Thanks in advance)
2 Replies
mr nooli
mr nooliOP12mo ago
Running this on my local machine is causing the peak ram usage to be around 7.5gb (just for node) I'm happy to add a few people to the GH repo however it is still closed source Also is there any way I can increase the ram available at build time?
Erisa
Erisa12mo ago
Want results from more Discord servers?
Add your server