You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Background
We recently changed the SSR rendering engine in our angular ssr app from express to clover. (We had to change the rendering engine in order to implement Microfrontends).
Issue:
We are using the new jsdom based ssr engine clover via the @nguniversal/common, (12.1.0) but our app is experiencing Heap memory out issue.
As the requests to the node server increases, we are seeing that heap memory is also increasing continuously and garbage collection is not happening. At around 400rpm, it is crashing with this error. We observed that at this requests rate, memory becomes 1GB in one or 2 minutes of running the app.
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory