When I worked at Facebook, I worked on a web memory tracking tool I was particularly proud. It went through links, grabbed heap snapshots, diff'ed them, found objects that weren't cleaned up and gave detailed information about its retain chain. You can see a lighting talk I did on it at BlinkOn: https://www.youtube.com/watch?v=JuyaGFApifA&t=1427s&ab_chann... We used it to find a problem fixed in React 18 that caused…
Fuite: a tool for finding memory leaks in web apps
21–30 of 34 posts
Re: Fuite: a tool for finding memory leaks in web apps
#22When I worked at Facebook, I worked on a web memory tracking tool I was particularly proud. It went through links, grabbed heap snapshots, diff'ed them, found objects that weren't cleaned up and gave detailed information about its retain chain. You can see a lighting talk I did on it at BlinkOn: https://www.youtube.com/watch?v=JuyaGFApifA&t=1427s&ab_chann... We used it to find a problem fixed in React 18 that caused…
Re: Fuite: a tool for finding memory leaks in web apps
#23Almost all SPAs do have memory leaks in my experience. I was once involved in Eclipse Memory Analyzer project(for Java, short MAT), and I mentored a student who built a prototype to support JS in MAT. We easily found significant memory leaks everywhere. That prototype was never released for reasons I cannot comment on in public.
Re: Fuite: a tool for finding memory leaks in web apps
#24Almost all SPAs do have memory leaks in my experience. I was once involved in Eclipse Memory Analyzer project(for Java, short MAT), and I mentored a student who built a prototype to support JS in MAT. We easily found significant memory leaks everywhere. That prototype was never released for reasons I cannot comment on in public.
misunderstood, nvm!
Re: Fuite: a tool for finding memory leaks in web apps
#25Re: Fuite: a tool for finding memory leaks in web apps
#26As an aside, I created some tooling for identifying memory leaks in Python apps. Once I started sending the results to Slack and formatting them nicely, I found people ran the tool more frequently. Usability is everything.
Re: Fuite: a tool for finding memory leaks in web apps
#27Re: Fuite: a tool for finding memory leaks in web apps
#28Re: Fuite: a tool for finding memory leaks in web apps
#29Re: Fuite: a tool for finding memory leaks in web apps
#30Most SPAs nowadays load JS for new components dynamically on route change. I expect this to increase the stack, too. Just something to keep in mind.