3 ms·
Maybe I'm missing something, but wouldn't simply running under valgrind be a really easy way to find lots of leaks? Granted, it only works under Linux, but I'm
by prewett 18y ago
Maybe I'm missing something, but wouldn't simply running under valgrind be a really easy way to find lots of leaks? Granted, it only works under Linux, but I'm guessing most leaks in FF are cross-platform. Sure beats the author's suggestion of "re-invent a lot of tools that already exist".
- andrewf 18y agoValgrind will tell you about stuff you malloc()d but didn't free(). That's part of what their tools do, but it won't help so much with reference counted/GCed stuff. Remember there's a lot of Javascript code in the browser itself.
- robin_bb 18y agoprewett, which are the tools that you think already exist, exactly? Many Mozilla developers make good use of valgrind. Leaks that can be found that way often are, and rarely cause problems for long.