Fuite: a tool for finding memory leaks in web apps
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: <a href="https://www.youtube.com/watch?v=JuyaGFApifA&t=1427s&ab_channel=BlinkOn" rel="nofollow">https://www.youtube.com/watch?v=JuyaGFApifA&t=1427s&ab_chann...</a><p>We used it to find a problem fixed in React 18 that caused large leaks on Facebook.com: <a href="https://github.com/facebook/react/pull/21039#issuecomment-803666387" rel="nofollow">https://github.com/facebook/react/pull/21039#issuecomment-80...</a><p>We also found one issue that caused a leak that's impossible to spot unless you know how V8 closures are implemented and retain one another.<p>I'm really hoping to see Facebook open source the tool some day!<p>Fuite seems really interesting. I like the idea of an automatic crawler!