0

I try to analyze my Angular app performance. App getting slower over a time of usage(when navigating between pages or simply leave tab opened for some time). Thus I have captured performance record over a time. And seems like memory leaks are present here. It tells that memory increasing in parallel with increasing of number of Nodes(see Nodes graph) however Listeners are getting garbage collected. Could somebody tell me what is Nodes graph certainly means? What are possible reasons of this mysterious Nodes increasing in Angularenter image description here

a_zatula
  • 438
  • 1
  • 3
  • 19
  • 1
    Are you use unsubscribe on component destroy to your subscribers ? – Anton Skybun Oct 11 '19 at 09:22
  • 1
    Yeap, incorrect unsubscribing is the most common memory leaks reason, so i have checked it multiple times in every component before ask here – a_zatula Oct 11 '19 at 09:26
  • Also u can see listeners getting dropped on charts. I guess it means that unsubscribing is correct – a_zatula Oct 11 '19 at 09:36
  • I am also facing same issue, any luck with this? I posted the question here: https://stackoverflow.com/questions/70527515/how-to-prevent-memory-leaks-in-angular – Keval Patel Dec 30 '21 at 05:37

0 Answers0