How to identify why and which object the Garbage Collector doesn’t release in SPA on Angular Universal?

I have created a SPA: using Angular 7 Universal. The program is deployed into Docker container. The problem is that memory usage of the application is constantly growing and after 12 hours it uses all available memory and gets stuck

After searching for possible solutions, found that lazy modules loading and async pipe can help. Implemented it but all in vain

How can I identify why Garbage Collector doesn’t release memory and it keeps growing in my Angular SPA?

Source: StackOverflow