You may not know it, but almost every site you visit that uses JavaScript is leaking memory. That may sound like an exaggeration, but it’s true.
With so many of the so called Web 2.0 sites using Ajax, and many depending on external frameworks like Prototype, script.aculo.us, Rico etc., there’s a vast open space for memory leaks caused by mishandled JavaScript routines. Cleaning up is as essential as that fancy Ajax UI. The article “3 Easy Steps to Avoid JavaScript Memory Leaks” (by Jack Slocum) is an insightful look at detecting and fixing such memory leaks, and build robust & efficient web-based rich-client applications. Talking about the browser-end, it will be quite a necessity for all major browsers to support a stable form of Garbage collection.