Increase the heap memory by setting the environment variable NODE_OPTIONS=–max-old-space-size=4096.
How do I back up my dev database on App Platform?
Validated on 6 May 2024 • Last edited on 1 Aug 2024
Dev databases do not have a built-in backup feature because they are intended for pre-production workloads. However, you can create regular database backups by setting up a cron job in your app that uses pg_dump to export the database to another database or storage solution.
If you require a database with backup functionality for production workloads, consider using a DigitalOcean Managed Database.
Related Topics
Why do I get the error “JavaScript heap out of memory” during deployment?
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.
Why do I get the error "Domain Already Exists" when trying to add a domain to an app in another account?
You cannot add the same domain name to multiple apps or split an app and domain name across more than one account.