GE interview question

Garbage collections in java Angular 6 and node js execution flow