My Oracle Support Banner

[ACCS] Deploying a NodeJS Application Gives "FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory" (Doc ID 2549507.1)

Last updated on APRIL 01, 2021

Applies to:

Application Container Cloud - Version N/A and later
Information in this document applies to any platform.

Goal

When trying to use the following ng serve command to deploy a new release of an existing application:

ng serve --prod --environment=prod --host <HOST_IP> --port process.env.PORT --disable-host-check

The following error is observed:

 FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

The application was able to be deployed originally using the following command:

ng serve --environment=qa --host <HOST_IP> --port process.env.PORT --disable-host-check

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.