1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Inconsistency between memory usage and speed with big documents

Discussion in 'Internet Explorer' started by Jbus, Apr 22, 2010.

  1. Jbus

    Jbus Flightless Bird

    I have a big (2 columns, 32000 rows, 10Meg) simple html file looking like this:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
    <HTML xmlns="http://www.w3.org/1999/xhtml">
    <HEAD><TITLE></TITLE>
    <META content="text/html; charset=utf-8" http-equiv=Content-Type>
    <STYLE type=text/css>
    TR.d0 TD { BACKGROUND-COLOR: #cc9999; COLOR: black }
    TR.d1 TD { BACKGROUND-COLOR: #9999cc; COLOR: black }
    </STYLE>
    </HEAD>
    <BODY>
    <FORM id=form1 method=post name=form1>
    <TABLE style="BORDER-BOTTOM-STYLE: solid; BORDER-RIGHT-STYLE: solid;
    FONT-FAMILY: @Arial Unicode MS; WORD-WRAP: break-word; BORDER-TOP-STYLE:
    solid; TABLE-LAYOUT: fixed; BORDER-LEFT-STYLE: solid" width="100%">
    <COLGROUP>
    <COL width="50%" />
    <COL width="50%" />
    </COLGROUP>
    <THEAD>
    <TR>
    <TD>Column 1</TD>
    <TD>Column 2</TD>
    </TR>
    </THEAD>
    <TBODY>
    <TR class=d0>
    <TD>bla bla bla</TD>
    <TD>bla bla bla</TD>
    </TR>
    <TR class=d1>
    <TD>bla bla bla</TD>
    <TD>bla bla bla</TD>
    </TR>
    </TBODY>
    </TABLE>
    </BODY>
    </HTML>

    When i open it in IE6, IE7, Opera, Firefox and Chrome, the browser use
    around 100 Meg of memory.

    When i use it on IE8, on some computers IE use 130 Meg, But on most of them
    IE need 300 Meg. More than 2 times more.

    I try with different hardware and software configurations (XP sp2, XP sp3,
    Vista, Seven, in 32 bits and 64 bits, in english and in french), different
    Antivirus, ... But i can't find any logical reason explaining that difference.

    I try also with to open the html document by clicking of the file, or with
    the menu/File/Open. In that case (by comparaison with Http WebServer, or with
    Drag'n drop), the memory usage is worst, and grow to 450 Meg. The time to
    display change from 10 secondes to 10 minutes...

    This doesn't happen with the others browsers.

    Any idea why IE memory usage and speed is so different from one computer to
    an other, or by the way you open the file?

    Thanks.

    P.S. : I am not interested by a response asking why the file is so big. I
    know i can make some pagination, but this is not the point here.
     
  2. PA Bear [MS MVP]

    PA Bear [MS MVP] Flightless Bird

    Developer-specific resources include:

    MSDN IE Development Forum (post such questions here instead)
    http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads

    Tip: When posting in Developer forums, always include a link to your web
    site or test pages in your first post.

    IE Developer Center
    http://msdn.microsoft.com/en-us/ie/default.aspx

    Learn IE8
    http://msdn.microsoft.com/en-us/ie/aa740473.aspx

    HTML and DHTML Overviews and Tutorials
    http://msdn.microsoft.com/en-us/library/ms537623.aspx and

    Cascading Style Sheets (CSS)
    http://msdn2.microsoft.com/en-us/ie/aa740476.aspx

    Expression Web SuperPreview for Internet Explorer (free, stand-alone visual
    debugging tool for IE6, IE7, and IE8)
    http://www.microsoft.com/downloads/...FamilyID=8e6ac106-525d-45d0-84db-dccff3fae677

    Expression Web SuperPreview Release Notes
    http://www.microsoft.com/expression/products/Web_SuperPreviewReleaseNotes.aspx

    Validators:
    http://validator.w3.org/
    http://jigsaw.w3.org/css-validator/
    Developer-specific resources include:

    MSDN IE Development Forum (post such questions here instead)
    http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads

    Tip: When posting in Developer forums, always include a link to your web
    site or test pages in your first post.

    IE Developer Center
    http://msdn.microsoft.com/en-us/ie/default.aspx

    Learn IE8
    http://msdn.microsoft.com/en-us/ie/aa740473.aspx

    HTML and DHTML Overviews and Tutorials
    http://msdn.microsoft.com/en-us/library/ms537623.aspx and

    Cascading Style Sheets (CSS)
    http://msdn2.microsoft.com/en-us/ie/aa740476.aspx

    Expression Web SuperPreview for Internet Explorer (free, stand-alone visual
    debugging tool for IE6, IE7, and IE8)
    http://www.microsoft.com/downloads/...FamilyID=8e6ac106-525d-45d0-84db-dccff3fae677

    Expression Web SuperPreview Release Notes
    http://www.microsoft.com/expression/products/Web_SuperPreviewReleaseNotes.aspx

    Validators:
    http://validator.w3.org/
    http://jigsaw.w3.org/css-validator/


    "Jbus" <Jbus@discussions.microsoft.com> wrote in message
    > I have a big (2 columns, 32000 rows, 10Meg) simple html file looking like
    > this:
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    > "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
    > <HTML xmlns="http://www.w3.org/1999/xhtml">
    > <HEAD><TITLE></TITLE>
    > <META content="text/html; charset=utf-8" http-equiv=Content-Type>
    > <STYLE type=text/css>
    > TR.d0 TD { BACKGROUND-COLOR: #cc9999; COLOR: black }
    > TR.d1 TD { BACKGROUND-COLOR: #9999cc; COLOR: black }
    > </STYLE>
    > </HEAD>
    > <BODY>
    > <FORM id=form1 method=post name=form1>
    > <TABLE style="BORDER-BOTTOM-STYLE: solid; BORDER-RIGHT-STYLE: solid;
    > FONT-FAMILY: @Arial Unicode MS; WORD-WRAP: break-word; BORDER-TOP-STYLE:
    > solid; TABLE-LAYOUT: fixed; BORDER-LEFT-STYLE: solid" width="100%">
    > <COLGROUP>
    > <COL width="50%" />
    > <COL width="50%" />
    > </COLGROUP>
    > <THEAD>
    > <TR>
    > <TD>Column 1</TD>
    > <TD>Column 2</TD>
    > </TR>
    > </THEAD>
    > <TBODY>
    > <TR class=d0>
    > <TD>bla bla bla</TD>
    > <TD>bla bla bla</TD>
    > </TR>
    > <TR class=d1>
    > <TD>bla bla bla</TD>
    > <TD>bla bla bla</TD>
    > </TR>
    > </TBODY>
    > </TABLE>
    > </BODY>
    > </HTML>
    >
    > When i open it in IE6, IE7, Opera, Firefox and Chrome, the browser use
    > around 100 Meg of memory.
    >
    > When i use it on IE8, on some computers IE use 130 Meg, But on most of
    > them
    > IE need 300 Meg. More than 2 times more.
    >
    > I try with different hardware and software configurations (XP sp2, XP sp3,
    > Vista, Seven, in 32 bits and 64 bits, in english and in french), different
    > Antivirus, ... But i can't find any logical reason explaining that
    > difference.
    >
    > I try also with to open the html document by clicking of the file, or with
    > the menu/File/Open. In that case (by comparaison with Http WebServer, or
    > with
    > Drag'n drop), the memory usage is worst, and grow to 450 Meg. The time to
    > display change from 10 secondes to 10 minutes...
    >
    > This doesn't happen with the others browsers.
    >
    > Any idea why IE memory usage and speed is so different from one computer
    > to
    > an other, or by the way you open the file?
    >
    > Thanks.
    >
    > P.S. : I am not interested by a response asking why the file is so big. I
    > know i can make some pagination, but this is not the point here.
     
  3. Rob

    Rob Flightless Bird

    Jbus <Jbus@discussions.microsoft.com> wrote:
    > P.S. : I am not interested by a response asking why the file is so big. I
    > know i can make some pagination, but this is not the point here.


    I think next time you also should write that you are not interested
    in a boilerplate response asking for your version numbers, what antivirus
    you have installed and when, or a response sending you off to elsewhere.
    Otherwise you see what happens: you get the same response as 80% of
    postings here :)

    But seriously, it is a very interesting issue. I could think about a
    couple of things like colordepth, screen resolution and word length
    (32/64) but you already ruled out most of it and it does not really
    explain the huge difference.
     
  4. Dan

    Dan Flightless Bird

    What happens with those IE8 machines that are using more RAM if you run in
    No Add-ons mode, or reset IE first? It's possible an add-on is parsing the
    data which is causing the memory growth and maybe even the speed too.

    Dan


    "Jbus" <Jbus@discussions.microsoft.com> wrote in message
    news:382FB599-BE25-43C2-A230-527C1611D759@microsoft.com...
    > I have a big (2 columns, 32000 rows, 10Meg) simple html file looking like
    > this:
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    > "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
    > <HTML xmlns="http://www.w3.org/1999/xhtml">
    > <HEAD><TITLE></TITLE>
    > <META content="text/html; charset=utf-8" http-equiv=Content-Type>
    > <STYLE type=text/css>
    > TR.d0 TD { BACKGROUND-COLOR: #cc9999; COLOR: black }
    > TR.d1 TD { BACKGROUND-COLOR: #9999cc; COLOR: black }
    > </STYLE>
    > </HEAD>
    > <BODY>
    > <FORM id=form1 method=post name=form1>
    > <TABLE style="BORDER-BOTTOM-STYLE: solid; BORDER-RIGHT-STYLE: solid;
    > FONT-FAMILY: @Arial Unicode MS; WORD-WRAP: break-word; BORDER-TOP-STYLE:
    > solid; TABLE-LAYOUT: fixed; BORDER-LEFT-STYLE: solid" width="100%">
    > <COLGROUP>
    > <COL width="50%" />
    > <COL width="50%" />
    > </COLGROUP>
    > <THEAD>
    > <TR>
    > <TD>Column 1</TD>
    > <TD>Column 2</TD>
    > </TR>
    > </THEAD>
    > <TBODY>
    > <TR class=d0>
    > <TD>bla bla bla</TD>
    > <TD>bla bla bla</TD>
    > </TR>
    > <TR class=d1>
    > <TD>bla bla bla</TD>
    > <TD>bla bla bla</TD>
    > </TR>
    > </TBODY>
    > </TABLE>
    > </BODY>
    > </HTML>
    >
    > When i open it in IE6, IE7, Opera, Firefox and Chrome, the browser use
    > around 100 Meg of memory.
    >
    > When i use it on IE8, on some computers IE use 130 Meg, But on most of
    > them
    > IE need 300 Meg. More than 2 times more.
    >
    > I try with different hardware and software configurations (XP sp2, XP sp3,
    > Vista, Seven, in 32 bits and 64 bits, in english and in french), different
    > Antivirus, ... But i can't find any logical reason explaining that
    > difference.
    >
    > I try also with to open the html document by clicking of the file, or with
    > the menu/File/Open. In that case (by comparaison with Http WebServer, or
    > with
    > Drag'n drop), the memory usage is worst, and grow to 450 Meg. The time to
    > display change from 10 secondes to 10 minutes...
    >
    > This doesn't happen with the others browsers.
    >
    > Any idea why IE memory usage and speed is so different from one computer
    > to
    > an other, or by the way you open the file?
    >
    > Thanks.
    >
    > P.S. : I am not interested by a response asking why the file is so big. I
    > know i can make some pagination, but this is not the point here.
    >
    >
    >
     

Share This Page