4 months ago
When enter to custom domain my app crash "FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory"
17 Replies
4 months ago
Try increasing the RAM resource limit in the settings for your service.
4 months ago
Adding a custom domain should not affect the way the app behaves. Adding a domain is basically just adding another URL that points to that instance.
Did you make any code changes before adding the custom domain?
4 months ago
Does this happen when you try to access the webpage several times locally? (I'm currently not able to access the generated domain at the time of writing this)
Never happened locally, after some railway builds root domain start to heap memory. For now im using subdomain (my client was waiting fix)
I think that something related to edge on railway or cloudflare start to do infinite loop
4 months ago
Does this only happen with puertoctes.com.ar? and not other subdomains?
4 months ago
I’d check the codebase to see if there’s anywhere in the code that’s fetching puertoctes.com.ar. That might be the cause of an infinite loop.

