IE 8's Crash Recovery and Performance Improvement Features

Status
Not open for further replies.
With IE8, Microsoft is attempting to solve one of the most annoying problems with today's multi-window, multi-tab browsers; namely, the disastrous effect that a browser crash has. It is an unfortunate feature of most browsers that a crash in one tab takes down the whole browser instance. Whether the cause is a bug in the browser itself, a malicious script, or a badly-written plug-in, the effect is the same; not only does the tab that caused the problem disappear, so does the tab with your half-composed forum post, the train timetable you need to get home, and the audio stream you're listening to.

IE8 tackles this by separating each tab into its own process, a feature it calls "Loosely Coupled IE." Starting IE8 actually creates two processes; one process for the window frame, address bar, toolbar, and tab bar, and a second process for the tab itself. Subsequent tabs may also open in new processes. Running a tab in its own process allows that tab to crash (for any reason) without disrupting any other tab. This feature was present in Beta 1; in Beta 2, Microsoft has worked to reduce the overhead it causes and improve its performance. For example, now the processes creating the window frames are merged, so starting IE several times will only create new tabs in the existing frame.

The ratio between tabs and processes is not exactly 1:1; although this provides the most isolation, the ratio of processes to tabs will depend on machine capabilities. This process separation also resolves a major annoyance in IE in Windows Vista. In Vista, sites in different zones cannot be open in the same IE window. A file opened from the hard disk cannot coexist with a file opened from the Internet; instead, two different IE processes are required, one for each security zone. Because IE8 uses different processes for each tab, this restriction is lifted; different security zones will still use different processes behind the scenes, but they will be able to share the same window.

The final piece of the puzzle is Automatic Crash Recovery. As with LCIE, this was present in Beta 1, but has been improved for Beta 2. ACR is designed to improve the experience when the the inevitable occurs and a tab crashes. Instead of losing everything you were doing in the tab, ACR restarts the process and restores the tab's context—in Beta 1, this meant it opened the same URL and kept the back/forward browser history.

ACR had promise in Beta 1; however, it neglected to recover the most important things—text entered into forms, and session cookies. Without these, the experience is a little frustratring; the browser reopens the right page, but you find yourself logged out and with your half-written e-mail gone. Beta 2 fixes this by recovering both form data and session cookies. This means that Beta 2 will be able to put you right back where you were before the tab crashed, with virtually no interruption.

As well as being incomplete, ACR in Beta 1 was not itself particularly reliable; it was easy to make the browser get into a never-ending cycle of crashing, restarting, recovering, and then immediately crashing (because the URL being recovered caused the crash in the first place). Microsoft has not said anything about whether this will continue to be a problem.

Of course, while better handling of crashes is no bad thing, it would be even better for the browser not to crash in the first place. Microsoft has long had an (opt-in) system for reporting crashes and hangs back to the company—Windows Error Reporting (aka, Watson). This data allows the company to locate bugs and determine which are in need of the most attention. On the blog, the IE team stated that they have committed to fixing the top 50 percent of all the Watson errors they have; this should provide a significant boost to reliability.

When IE8 is released later this year it will undoubtably be the best version of Internet Explorer ever. IE's competition is improving all the time, and gaining in popularity, and—at least when it comes to standards compliance—is already superior today to what IE8 will deliver later in the year. Microsoft's uphill battle to stop the rot and turn IE around is far from over.

Source : ArsTechnica

Its a bit old news (before the launch of IE 8 Beta 2) but i thought its worth sharing. Also these features are more visible in Beta 2 then they were in Beta 1. And Yes, ACR has definately been improved in Beta 2. i am runnin IE 8 contineously for last 2 days and seen just a single crash in a single tab today which when i tried to dig deeper, was caused by the integration DLL of Free Download manager. I have, ofcourse, reported it to FDM team.
 

naveen_reloaded

!! RecuZant By Birth !!
thnks ...

installed it ..

now i am able to open ie 8 sometimes only..
most of the time it crashes and says that its been closed because of Data Execution Prevention...

i tried to whitelist the ie 8 in DEP in system setting... but still its crashing..

help me ...

is anyone having same prob??

i would not recommnend this beta version to all...
 
I am not having any issues of this kind. Monstly, these kind of issues arise due to incompatible plugins. With me, it use to happen a lot when i had Adobe Reader 9's plugin installed. If you too have it then, try uninstalling that and also see if there are any other old BHO (brwoser helper objects) dlls that may not be compatible with this release of IE. For example, in my case with IE 8 Beta 1, i use to curse it for a lot of DEP errors but when i attached Microsoft's Debugger to the IE process, i found out that the crashes were due to an older verison of Free Download manager's integration dll, ie. iefdm2.dll. You might be experiencing a similar thing. Also, if you are using IE7pro, then disable the "Faster IE" functionallity that is present in newer versions. it usually causes trouble. Try these and then post here the results. I'll try to help in whatever way i can.

And BTW, beta versions are not recommended for general public, thats a known fact. These releases bound to have bugs and those who want an early taste of things or/and want to participate in the testing process are the ones who use these releases. I guess most of the members will be aware of that :)
 
Last edited:

prasad_den

Padawan
Good info.. Fortunately, IE 8 has thus far not crashed on me, and my experience has been pretty good. Waiting for the final version..
 
Status
Not open for further replies.
Top Bottom