Increase the heap memory by setting the environment variable NODE_OPTIONS=–max-old-space-size=4096.
Why are my App Platform environment variables not updating?
Validated on 10 Apr 2024 • Last edited on 2 Jul 2024
If your app is successfully deploying but your environment variables are remaining unchanged, you may have defined the same variable name at both the app and component levels. Component-level variables override app-level variables.
To fix this, ensure that your variable is defined at the appropriate level: at the app level or the component level.
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.