Why are large files failing to upload to my app on App Platform?

Validated on 9 Oct 2023 • Last edited on 17 Jun 2025

Upload issues to apps are often caused by exceeding one of the following limits:

  • The host instances running App Platform containers do not provide persistent data storage. Data in the host instance’s local filesystem is permanently lost after deployments and other container replacements. The local filesystem is additionally limited to 4 GiB, and if it is filled to capacity, the container is detected as unhealthy and replaced.

Apps should only use the host instance’s local filesystem for small amounts of temporary storage. For persistent storage, you can use Spaces Object Storage or DigitalOcean Managed Databases.

  • File uploads to apps timeout after 100 seconds.

If you are exceeding one of these limits, you may need to decrease the size of your files or consider another storage option for your app.

How do I fix the error "Record is managed by an App on this account, and cannot be deleted"?

Use the app’s Settings tab to remove domains associated with App Platform apps.

Why do I get the error “JavaScript heap out of memory” during deployment?

Increase the heap memory by setting the environment variable NODE_OPTIONS=–max-old-space-size=4096.

How do I fix a "permission denied for schema public" error in my dev database?

Delete the existing dev database and create a new one. Then make sure that the app deployment completes successfully.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.