3 Easy Steps to Avoid JavaScript Memory Leaks
Jack Slocum's blog used to carry an interresting post about memory leaking occuring in regular webpages. Sadly it has gone MIA.
(please note, full copyright and credits for below text belongs to Jack Slocum. Text is almost 99% verbatim from the webarchive. And even though written in first person, it was not done by me)
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. Don't believe me? Leak Monitor
The Dojo Mail example page
This one takes it to the extreme, filling two popups (look at the scrollbars!).
Word Press
This one is the most irritating. Every time I edit a post in WordPress, this is what I see.
Visiting all your usual sites, you will find almost every one of them is leaking memory. It's actually quite shocking that some of these sites wouldn't have some sort of testing in place to make sure this isn't happening.
It's as simple as these 3 steps:
Labels: memoryleak javascript webpage