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.
Validated on 5 May 2023 • Last edited on 17 Apr 2025
You can change an app’s source repository by updating the app’s spec. In the app’s spec file, you can update the repo value nested in the github block with the name of your new repository.
For specific instructions on how to do this, see How to Manage an App’s Source Repository.
Increase the heap memory by setting the environment variable NODE_OPTIONS=–max-old-space-size=4096.
Delete the existing dev database and create a new one. Then make sure that the app deployment completes successfully.
You cannot add the same domain name to multiple apps or split an app and domain name across more than one account.
Try using different keywords or simplifying your search terms.