By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,572 Members | 963 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,572 IT Pros & Developers. It's quick & easy.

Memory leaks: finding and preventing?

P: n/a

I'm looking for strategies to find and prevent unnecessary memory
consumption. This includes real memory leaks caused by browser bugs, of
course, but beyond that I'm also thinking of closures that retain
references to objects that aren't going to be accessed anymore.

There are approaches to these two problems that I can think of, such as
executing code in loop and watching memory consumption. I'd like to
know if there are other, systematic strategies.

Michael

--
Michael Schuerig
mailto:mi*****@schuerig.de
http://www.schuerig.de/michael/
Jan 8 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Tue, 08 Jan 2008 16:09:38 +0100, Michael Schuerig wrote:
>
I'm looking for strategies to find and prevent unnecessary memory
consumption. This includes real memory leaks caused by browser bugs, of
course, but beyond that I'm also thinking of closures that retain
references to objects that aren't going to be accessed anymore.
IE has a habit of leaking memory when attaching events and not specificity
detaching them.

< URL:
http://www.quirksmode.org/blog/archi...nt_recodi.html >

has some wonderful discussions and example code.
Jan 8 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.