Why is my App Platform build or deployment failing with an out of memory error?

Validated on 24 Jun 2024 • Last edited on 2 Jul 2024

Build Failing with Out of Memory Error

App Platform builds have a combined 8 GB of RAM and disk available, regardless of the plan size. You cannot increase the amount of memory available, so if your build is failing because it runs out of memory, try optimizing your build.

  • Having a large repository and a lot of small files can increase memory overhead, so try decreasing the amount of files in the application to free up more memory during the build. We especially recommend this for static sites.

  • As an alternative, you can build your app as a Docker image and then upload it to DigitalOcean Container Registry. Because this method uses a local build, App Platform skips the build process and deploys directly from the image.

Deployment Failing with Out of Memory Error

The amount of memory available to your app’s deployment depends on the App Platform plan.

If your deployment is running out of memory, you can scale the app to a larger plan.

Why am I getting an error when trying to forward DigitalOcean Functions to Managed OpenSearch?

Functions does not support forwarding to Managed OpenSearch.

My container-based app fails to deploy without logs or error codes.

Troubleshoot by making sure the Dockerfile and its commands build on Linux AMD64 and other steps.

How do I generate my app's SSL certificate?

App Platform automatically generates and issues the SSL certificate during the configuration.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.