开发者

Internet explorer consumes more and more RAM for every refresh

I have just started working with an application that for every time I refresh the start page it increases the memory consumption by 3-4 Mb. I have done some analysis with sI开发者_如何学编程Eve (http://home.wanadoo.nl/jsrosman/) and found a lot of memory leaks. But I have seen other websites (i e facebook) with the same number of leaks that does not increase in memory as rapid as this application. Can there be other reasons for this behaviour?

Does anyone have any tips on what to start with, any other tools e t c to find the worst leaks or causes of memory escalation?


Which version of IE? IE8 is supposed to be better at handling memory leaks. You can memory leaks that hang around even after a refresh. There are lots of examples you can find. Usually you can recoup some memory after a page refresh, but there are some cases (I believe with plugins) where memory is not completely recovered. Gradually it gets worse and worse until you close the browser.

But like I said - IE8 was supposed to have solved some of this.

IE8 can still have memory leaks. Something to do with the DOM. If you have a complex jQuery application doing a lot of DOM work and the page never refreshes (i.e., the application is a single page using AJAX) you can see the memory go up and up even though you think you are clearing things out properly.

Moral of the story: IE sucks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜