Fuite: a tool for finding memory leaks in web apps
11–20 of 34 posts
Re: Fuite: a tool for finding memory leaks in web apps
#12The only thing more tedious and brain-breaking than tracking down client-side JS memory leaks is tracking down server-side JS (Node) memory leaks.
Re: Fuite: a tool for finding memory leaks in web apps
#13Re: Fuite: a tool for finding memory leaks in web apps
#14We 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!
Re: Fuite: a tool for finding memory leaks in web apps
#15Re: Fuite: a tool for finding memory leaks in web apps
#16Re: Fuite: a tool for finding memory leaks in web apps
#17The only thing more tedious and brain-breaking than tracking down client-side JS memory leaks is tracking down server-side JS (Node) memory leaks.
Serious question, is it really more difficult fir server side JS? At least you don't have to fiddle around with DOM references. The potential impact on the server side is of course potentially bigger.
Re: Fuite: a tool for finding memory leaks in web apps
#18When 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…
I would love to see how your tool approaches this! Hope it gets open-sourced. :)
Re: Fuite: a tool for finding memory leaks in web apps
#19Is "fuite" french for fleeing?
Re: Fuite: a tool for finding memory leaks in web apps
#20How do crawler approaches like this handle SPAs that have a multi-step onboarding flow before getting into the actual heavy-hitting areas that need the most testing? (e.g. where you may have to click through several things before even hitting a route change)