Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Why does IE use so much memory

Why does IE use so much memory

Scheduled Pinned Locked Moved The Lounge
questioncsharpdatabasesql-servervisual-studio
24 Posts 20 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Michael Breeden
    wrote on last edited by
    #1

    I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

    P P V E W 15 Replies Last reply
    0
    • M Michael Breeden

      I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

      P Offline
      P Offline
      peterchen
      wrote on last edited by
      #2

      It's a feature they copied from Firefox. "Hey, Rastavan, See this 'memory score' in Task Master? We still below!" I have most problems with IE with plugins (flash and the like): they break the parallelism pretty badly. Memory, I haven't care much about. If your machine freezes, though, you might have a different problem: crappy hardware, crappy driver, or overheating.

      FILETIME to time_t
      | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

      M 1 Reply Last reply
      0
      • M Michael Breeden

        I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        I can't say for certain, because I don't know which pages you visit with IE, but there is the potential for memory leaks in badly written web apps in IE. The gist of it is, IE uses a second DOM to handle reference counting so when you add an event listener using basic JavaScript techniques, this gets AddRefed to the DOM. If you then don't delete the event handler later on, then it isn't released. This means that whatever was being held onto cannot be garbage collected by IE.

        *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

        "Mind bleach! Send me mind bleach!" - Nagy Vilmos

        My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

        M 1 Reply Last reply
        0
        • P peterchen

          It's a feature they copied from Firefox. "Hey, Rastavan, See this 'memory score' in Task Master? We still below!" I have most problems with IE with plugins (flash and the like): they break the parallelism pretty badly. Memory, I haven't care much about. If your machine freezes, though, you might have a different problem: crappy hardware, crappy driver, or overheating.

          FILETIME to time_t
          | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

          M Offline
          M Offline
          Michael Breeden
          wrote on last edited by
          #4

          It's a good ASUS motherboard. I like them generally. Not sure about drivers, but there should be few added drivers. I keep the machine pretty basic. Nah, it's a full size tower with good fans and a minimal graphics... I could feel around though.

          OriginalGriffO 1 Reply Last reply
          0
          • M Michael Breeden

            I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

            V Offline
            V Offline
            V 0
            wrote on last edited by
            #5

            think I need to reboot IE as well. Running 5 iexplore instances worth > 2GB of memory (IE 8 on Xp)

            V.

            M 1 Reply Last reply
            0
            • P Pete OHanlon

              I can't say for certain, because I don't know which pages you visit with IE, but there is the potential for memory leaks in badly written web apps in IE. The gist of it is, IE uses a second DOM to handle reference counting so when you add an event listener using basic JavaScript techniques, this gets AddRefed to the DOM. If you then don't delete the event handler later on, then it isn't released. This means that whatever was being held onto cannot be garbage collected by IE.

              *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

              "Mind bleach! Send me mind bleach!" - Nagy Vilmos

              My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

              M Offline
              M Offline
              Michael Breeden
              wrote on last edited by
              #6

              Mostly it is pages from Yahoo

              P 1 Reply Last reply
              0
              • V V 0

                think I need to reboot IE as well. Running 5 iexplore instances worth > 2GB of memory (IE 8 on Xp)

                V.

                M Offline
                M Offline
                Michael Breeden
                wrote on last edited by
                #7

                Ouch! Big ouch!

                1 Reply Last reply
                0
                • M Michael Breeden

                  I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

                  E Offline
                  E Offline
                  ed welch
                  wrote on last edited by
                  #8

                  I can tell you in two words: javascript libraries If a web page uses a library such as jQuery memory has to be allocated for every function in the library, even for the functions not used. Some web pages have dozens of libraries included

                  M 1 Reply Last reply
                  0
                  • M Michael Breeden

                    It's a good ASUS motherboard. I like them generally. Not sure about drivers, but there should be few added drivers. I keep the machine pretty basic. Nah, it's a full size tower with good fans and a minimal graphics... I could feel around though.

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #9

                    Member 7980583 wrote:

                    it's a full size tower with good fans

                    Doesn't mean they are a) working, or b) not so clogged with dust that no air gets through. I generally hoover my fans out twice a year or so, including processor, but definitely including the PSU.

                    Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    J 1 Reply Last reply
                    0
                    • E ed welch

                      I can tell you in two words: javascript libraries If a web page uses a library such as jQuery memory has to be allocated for every function in the library, even for the functions not used. Some web pages have dozens of libraries included

                      M Offline
                      M Offline
                      Michael Breeden
                      wrote on last edited by
                      #10

                      Interesting. Yahoo uses the YUI library. I see that I have the same problem in Chrome as well.

                      1 Reply Last reply
                      0
                      • M Michael Breeden

                        I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

                        W Offline
                        W Offline
                        wizardzz
                        wrote on last edited by
                        #11

                        All browsers are guilty of memory leaks when left open over periods of time, it's something I came across when I was a performance tester.

                        "I have a theory that the truth is never told during the nine-to-five hours. " — Hunter S. Thompson

                        1 Reply Last reply
                        0
                        • M Michael Breeden

                          I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

                          L Offline
                          L Offline
                          leppie
                          wrote on last edited by
                          #12

                          Sorry, can't remember.

                          IronScheme
                          ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))

                          1 Reply Last reply
                          0
                          • M Michael Breeden

                            I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

                            T Offline
                            T Offline
                            TorstenH
                            wrote on last edited by
                            #13

                            That depends on how much porn you load in "Incognito-mode". Browsers nowadays use an instance per tab, that makes them more aggressive on the RAM, but also more stable if some plugin crashes or so. EDIT: Due to spelling.

                            regards Torsten When I'm not working

                            1 Reply Last reply
                            0
                            • M Michael Breeden

                              I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

                              M Offline
                              M Offline
                              Mike Diack
                              wrote on last edited by
                              #14

                              Don't forget IE8 and later spawn at least one process per tab as well. I don't know how much code gets shared between the tabs but I bet it's not that high....

                              C 1 Reply Last reply
                              0
                              • M Michael Breeden

                                I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

                                T Offline
                                T Offline
                                TNCaver
                                wrote on last edited by
                                #15

                                You've got a hardware problem, probably some bad memory, or just a memory card that needs to be reseated.

                                If you think 'goto' is evil, try writing an Assembly program without JMP.

                                1 Reply Last reply
                                0
                                • M Michael Breeden

                                  I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

                                  A Offline
                                  A Offline
                                  Alexander DiMauro
                                  wrote on last edited by
                                  #16

                                  It's not as if other browsers aren't guilty of the same thing. I'm on Chrome right now with 6 tabs open, which is pretty low for me. Can get to 20+ easily by the time I get through the new posts on Google Reader. Open up Task Manager and...16 processes running! Adding up the total, and...about 344MB. I just opened up IE9, and 6 tabs later...hmmm...198MB. Firefox, with only ONE tab open...201MB! So, it's certainly not just IE. Then there is Visual Studio...592MB process with just one instance running. Ouch!

                                  The world is going to laugh at you anyway, might as well crack the 1st joke! My code has no bugs, it runs exactly as it was written.

                                  1 Reply Last reply
                                  0
                                  • M Michael Breeden

                                    I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

                                    B Offline
                                    B Offline
                                    BrainiacV
                                    wrote on last edited by
                                    #17

                                    I've been finding Win7 really wants to live in 8 GB of RAM. I made the argument that I was not the typical manager that needed the biggest and latest machine on the block just to check my e-mail. To my surprise they built me a machine that was i7 with 16 GB of RAM. I have just as big (if not larger) list of programs running at once and memory usage hovers at 8.38 GB. My AMD Phenom quadcore with 4 GB at home always seems to be wheezing. I plan to get another 4 GB to cure it, but it uses DDR2 :(

                                    Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                                    1 Reply Last reply
                                    0
                                    • M Michael Breeden

                                      Mostly it is pages from Yahoo

                                      P Offline
                                      P Offline
                                      Patrick Fox
                                      wrote on last edited by
                                      #18

                                      And therein lies the culprite. I use Yahoo a lot too. Yahoo news, Yahoo mail, etc.... The Yahoo sites contain a crapton of javascript, AJAX callbacks and integration into other services like comments and ad-related stuff. These things are monstrous and they recklessly consume resources. I think they leak too, browsing several Yahoo articles and then closing all the tabs doesn't significantly reduce IE's memory footprint.

                                      1 Reply Last reply
                                      0
                                      • M Michael Breeden

                                        I have Windows 7 and I've recently had to do some cold rebooting due to the entire system freezing. I don't expect that in Windows 7. In the past, I've had SQL Server Management Studio, 3 instances of Visual Studio, Many browsers, NotePad++ and a whole slew of other apps open, with no problem. Currently I am finding that with a few apps open, the machine may freeze. It seemed to relate to IE when I have say, only 10 tabs open. I have 4 Gig of fast RAM and an I3 processor. I started watching the resources usage in the Task Manager. I see that closing IE may release 500 Meg of memory. That seems a bit excessive. Anyone have any thoughts? Written on Chrome... Thanks, Mike

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #19

                                        Do you know how much code it takes to make sure standards don't work? if( bHmtlFragmentWouldCompeteWithSilverLightProprietaryWayOfThings ){ // time to play a cruel joke... make it look ugly. }

                                        1 Reply Last reply
                                        0
                                        • OriginalGriffO OriginalGriff

                                          Member 7980583 wrote:

                                          it's a full size tower with good fans

                                          Doesn't mean they are a) working, or b) not so clogged with dust that no air gets through. I generally hoover my fans out twice a year or so, including processor, but definitely including the PSU.

                                          Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                                          J Offline
                                          J Offline
                                          jim norcal
                                          wrote on last edited by
                                          #20

                                          I agree. Even on a new mobo I've run into odd glitches that just shouldn't be and couldn't be easily pinned down until later the mobo just failed altogether. A new motherboard with all the same plugged in hardware (cpu/ram/ps/fans/hdd/dvd/cd/etc) ended up working just fine. And, the failed mobo was an ASUS as well! This was for my i7 proc with 6gb ram.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups