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: https://www.youtube.com/watch?v=JuyaGFApifA&t=1427s&ab_chann...We used it to find a problem fixed in React 18 that caused large leaks on Facebook.com: https://github.com/facebook/react/pull/21039#issuecomment-80...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.I'm really hoping to see Facebook open source the tool some day!Fuite seems really interesting. I like the idea of an automatic crawler!