Why Do Browsers Leak Memory?

Posted by Dane Balia on Stack Overflow See other posts from Stack Overflow or by Dane Balia
Published on 2012-11-05T04:49:28Z Indexed on 2012/11/05 4:59 UTC
Read the original article Hit count: 443

A colleague and I were speaking about browsers (using browser control in a project), and it appears as plain as day that all browsers (Firefox, Chrome, IE, Opera) display the same characteristic or side-effect from their usage and that being 'Leaking Memory'.

Can someone explain why that is the case? Surely as with any form of code, there should be proper garbage collection?

  • PS. I've read about some defensive patterns on why this can happen from a developer's perspective. I am aware of an article Crockford wrote on IE; but why is the problem symptomatic of every browser?

Thanks

© Stack Overflow or respective owner

Why do browsers leak memory?

Posted by Dane Balia on Programmers See other posts from Programmers or by Dane Balia
Published on 2012-11-05T05:03:40Z Indexed on 2012/11/05 5:13 UTC
Read the original article Hit count: 443

A colleague and I were speaking about browsers (using a browser control object in a project), and it appears as plain as day that all browsers (Firefox, Chrome, IE, Opera) display the same characteristic or side-effect from their usage and that being 'Leaking Memory'.

Can someone explain why that is the case? Surely as with any form of code, there should be proper garbage collection?

PS. I've read about some defensive patterns on why this can happen from a developer's perspective. I am aware of an article Crockford wrote on IE; but why is the problem symptomatic of every browser? Thanks

© Programmers or respective owner

Related posts about JavaScript

Related posts about internet-explorer