I’m trying to deploy a Gatsby v4 website (static site generation) served via Express on a Starter Plus account (1GB RAM, 1 CPU), and the deploys keep failing during the
Deploying... step (after successful build and upload):
Done in 976.00s. ==> Uploading build... ==> Build successful 🎉 ==> Deploying...
The failures shows up in the Events tab of the dashboard for the service as such:
Deploy failed for `08b2c7d`: Fix module names Out of memory January 6, 2022 at 12:01 AM
However, no spikes in memory usage larger than 1GB RAM show up on the Metrics tab:
The project is however a monorepo, and the total size of the project is 13GB. Could the size on disk be a problem during the last stage of deployment? I may be able to experiment with removing some development dependencies…