Understand memory leaks - "code for eventHandler"


#1

Hi,

I have a memory leak problem, each time i go on a page and back to the first one memory used increase.

I have deactivated angular extension in my chrome and try to do a snapshot. I have a lot of “Detached DOM tree” with a retained size increase each time i visit a page.

When i click on native code for a lot of elements i see “code for eventHandler” that means its due to this function ? Or means i miss other thing ?

I have well check to remove my eventHandlers and timeouts and delete unused vars.

Can you help me to understand how interpret google chrome heap snapshot to be sure of the origin wich retain my memory ?

Thanks in advance
Cédric


#2

Anyone can help me ?