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 2025 • Last edited on 14 May 2025
App Platform automatically generates and issues the SSL certificate when you add a domain to your app, requiring no action from you. For more details on managing your app’s domains, see How to Manage Domains in App Platform.
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.