Fuite: a tool for finding memory leaks in web apps
nolanlawson.com
Fuite: a tool for finding memory leaks in web apps
1–10 of 34 posts
Re: Fuite: a tool for finding memory leaks in web apps
#2Memory leaks on the client side, in a single-page app.
Re: Fuite: a tool for finding memory leaks in web apps
#3This is actually really important. If you're a tab whore like me you'll always find a site that eventually eats up all your RAM and kills the browser dead. More SPAs need to test for memory "leaks" like these, especially if they're repeatedly creating large numbers of DOM elements through scripting.
Re: Fuite: a tool for finding memory leaks in web apps
#4Personally I prefer JS-light sites, but in today's SPA filled world, this tool is very welcome.
Re: Fuite: a tool for finding memory leaks in web apps
#5As a reminder, one can use weakreferences
Re: Fuite: a tool for finding memory leaks in web apps
#6Having to point at a URL and crawl for pages seems awkward. Is there something I can directly integrate into my app? How would it deal with a login page?
Re: Fuite: a tool for finding memory leaks in web apps
#7This is a welcome surprise. I have been hunting down memory leak problems for a hardware installation that runs a JS heavy app 24/7. Had to build in auto software resets just to clean the garbage because there was no real solution. Looking forward trying this out asap
Re: Fuite: a tool for finding memory leaks in web apps
#8[deleted]
Re: Fuite: a tool for finding memory leaks in web apps
#9Having to point at a URL and crawl for pages seems awkward. Is there something I can directly integrate into my app? How would it deal with a login page?
Ran into the same limitation. I had tried logging in to a local dev server and then running fuite, but it looks like it runs the tests in its own personal chromium instance so my session wasn't used.
There are no memory leaks on my login and sign up pages though!
edit: just checked the docs and it says you can specify a scenario script with a setup hook to get passed authentication.
Re: Fuite: a tool for finding memory leaks in web apps
#10The only thing more tedious and brain-breaking than tracking down client-side JS memory leaks is tracking down server-side JS (Node) memory leaks.