QuirksBlog - Memory leaks

About memory leaks in Internet Explorer.
Part of Coding techniques.

Memory leak mystery

Permalink | in Memory leaks
17 comments (closed)

In my ongoing quest for memory leaks I've come upon a mystery. A script that should leak memory according to the definitions and the experts, doesn't. Why not? I have no idea.

continue reading

Memory leaks linkdump

Permalink | in Linkdump, Memory leaks
3 comments (closed)

Since the comments to my previous posts contain a few useful links to memory leaks and closure resources, I thought I'd create a linkdump for future reference. Note that I only included those articles that explain what they're doing and why and give code examples. I ignored the pages that just throw scripts over the fence and leave it to the reader to figure out what they're all about.

continue reading

Creating memory leak test scripts - take 3

Permalink | in Memory leaks
25 comments (closed)

I made an obvious error in my previous round of experiments. We're going to start afresh.

continue reading

More on creating memory leak test scripts

Permalink | in Memory leaks
14 comments (closed)

The plot thickens. I now have succesfully created a simple function that causes memory leaks. The problem is, I don't understand why.

Update: Incorrect experiments. This entry is closed.

continue reading

How do I create a memory leak test script?

Permalink | in Memory leaks
13 comments (closed)

It becomes more and more apparent that creating the new addEvent() function is not for the fainthearted. I underestimated the many problems, and in the comments to my previous entry compelling arguments were raised against the winning code.

I've decided to take a few steps back and study the problem before messing about with the solution. I want to write a script that leaks memory. I'd like to judge how bad it is in practice and I'd like to see some practical code examples. Unfortunately I just can't get any function to leak memory. I'm afraid I just don't get it.

continue reading

Javascript memory leaks

Permalink | in Memory leaks
17 comments (closed)

Quite by accident I found the article DHTML Leaks Like a Sieve by Joel Webber. It's an interesting read that I can recommend to all JavaScripters. Also, it may have disturbing implications for my current coding practices.

continue reading

This is the blog of Peter-Paul Koch, web developer, consultant, and trainer. You can also follow him on Twitter or Mastodon.
Atom RSS

If you like this blog, why not donate a little bit of money to help me pay my bills?

Categories: