3 May
Interesting little bit of information I discovered yesterday about how IE manages memory usage. I was testing a site in IE & I needed another window open to view a different section on the site, so for some reason I clicked the icon rather than pressing ctrl-n. Later on I opened up Task Manager to kill a stalled program & I noticed that there were two instances of IEXPLORE.EXE listed. This, I thought, was odd. I’d always assumed IE spawned new windows off the same process instance, but it appeared not.
So then I go back into IE, press ctrl-n and check back on task manager and low & behold, there’s no new instance, just a memory use increase in one of the current ones. So it would seem that how you open IE changes how it manages the processes it uses. Here’s a shot of task manager with IE & Firefox both having the same four sites open, the 1st with the IE windows opened using ctrl-n and the other with them opened by clicking on the IE icon.


Each successive IE processes has less memory usage, so it would seem that it’s either caching or sharing some of the resources, but none the less, to open the same four pages, the memory usage difference is huge – 74,236KB! So the lesson for today is, use ctrl-n. (Well, actually, the lesson is use Firefox. Even with all the windows opened on the single process, Firefox still used less memory)
9 Responses for "Internet Explorer Memory usage"
That may not be such a bad thing. I have had cases where a site (usually associated with hacking) may cause a PC to either lockup or may open so many popups that it’s a losing battle to close them all. Killing the process in Task Manager kills the offending window along with all its popups. A new IE window started with the icon, however, will not be killed at this stage. From what you say, Firefox will not operate in this way. (I use Firefox, BTW. Tabs are too handy to go without…)
Oh, and it’s good to see World Community Grid running away happily there…
It would seem that Firefox always seems to spawn off the same process, so it doesn’t have the option. That is a good point though, if you’re doing stuff that could crash IE, opening different processes would be handy.
Of course *using* IE is something that can cause it to crash
Very interesting. Thanks for the info!
Sometimes having a choice to have the new window running in the same or different processes is actually a “good thing”.
If you click on the Internet Explorer icon, it actually launches a new instance. Moreover, each IE instance manages its own pool of session cookies, which is *extremely* useful in web application development, where you might want to log into the same app as different users as the same time to test interactivity. You can’t easily do that with Firefox, as all windows share the same cookie jar. But with IE, as it gives you this option to create two windows as different instances with differnet cookie jar, that creates a whole lot of possibilities.
And of course, if you want to preserve memory, Ctrl-N will do.
That may not be such a bad thing. I have had cases where a site (usually associated with hacking) may cause a PC to either lockup or may open so many popups that it’s a losing battle to close them all. Killing the process in Task Manager kills the offending window along with all its popups. A new IE window started with the icon, however, will not be killed at this stage. From what you say, Firefox will not operate in this way. (I use Firefox, BTW. Tabs are too handy to go without…)
Oh, and it’s good to see World Community Grid running away happily there…
It would seem that Firefox always seems to spawn off the same process, so it doesn’t have the option. That is a good point though, if you’re doing stuff that could crash IE, opening different processes would be handy.
Of course *using* IE is something that can cause it to crash
Very interesting. Thanks for the info!
Sometimes having a choice to have the new window running in the same or different processes is actually a “good thing”.
If you click on the Internet Explorer icon, it actually launches a new instance. Moreover, each IE instance manages its own pool of session cookies, which is *extremely* useful in web application development, where you might want to log into the same app as different users as the same time to test interactivity. You can’t easily do that with Firefox, as all windows share the same cookie jar. But with IE, as it gives you this option to create two windows as different instances with differnet cookie jar, that creates a whole lot of possibilities.
And of course, if you want to preserve memory, Ctrl-N will do.
something is seriously wrong with internet explorer. right now, i am using both firefox and internet explorer. I have 9 tabs on firefox open and only one window of internet explorer with no other tabs open. checked memory usage but internet explorer still uses more memory than firefox. internet explorer used 148668 compared to 139736 of firefox with 9 tabs open!
Leave a reply