React development build takes up all memory and fails

My project which uses React (CRA) cannot build in development mode due to low memory (512mb is the maximum but my project takes up ~600mb in peak). Is there any way to resolve this issue? Could my project container get boosted in RAM?

Hi @jarvis394 – we are unable to provide additional memory, but I can send you to this starter app that uses create-react-app on Glitch: If you remix from here, you should be able to run CRA on Glitch no problem. Give this a try and let us know if you continue having issues!

1 Like