A
A
Alex2019-12-02 07:39:07
JavaScript
Alex, 2019-12-02 07:39:07

How to track down functions that create JS memory leaks in Chrome?

I came across an article on Habré about memory leaks ( https://habr.com/en/post/309318/ ). And there it was said about " record heap allocation stack traces " in the settings and about the Allocation mode , which allows you to identify functions / objects where the leak occurs.
The article was written in 2016 and now a lot has changed and these options cannot be found.
All that was found is in the Memory tab there is an item " Allocation instrumentation on timeline " and below there is an option " record allocation stacks " which for some reason cannot be activated.
Tell me, how can you now track the functions \ objects in which leaks occur in DevTools chrome?
ps Now this is the view in Memory
5de494e907bed803856937.png
But this one is given in the article (here the functions \ objects are indicated and opposite the script and the line)
b99acebd3804479e985762dae93c723b.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Gorelov, 2019-12-02
@Kirill-Gorelov

https://developers.google.com/web/tools/chrome-dev...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question