Results 1 to 4 of 4

Thread: IE9 Memory Leak

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Feb 2013
    Vote Rating

    Default IE9 Memory Leak

    Ext version tested:
    • Ext 4.1.0
    Browser versions tested against:
    • IE9
    DOCTYPE tested against:
    • <!DOCTYPE html>

    Below is a simple page that demonstrates a memory leak in Internet Explorer version 9. On initial load, the page consumes approximately 51MB of memory. After hundreds of page refreshes (F5), the page consumes 78MB of memory.

    The page simply loads the ExtJS library and display a div, but there is gradual memory leak accumulation after each page refresh. The memory is not freed until the browser is closed.

    This issue appears to only affect Internet Explorer.

    Steps to reproduce the problem:
    1. Open the page (note the memory usage)
    2. Refresh the page (F5) several hundred times, and notice the memory usage gradually increase
    The result that was expected:

    • The memory is freed after each page refresh.
    The result that occurs instead:
    • Memory usage gradually increases and is not freed until the browser is closed.
    Test Case:
    <!DOCTYPE html><html>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="pragma" content="no-cache" />
    <script type="text/javascript" src="extjs-4.1.0/ext-all-debug-w-comments.js"></script>
    <div>Leak Test</div>
    Additional CSS used:
    • none
    Operating System:
    • Windows 7 Professional, Service Pack 1

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    Have you tried with the latest release? 4.2.0 beta2?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Vote Rating


    Tested against the latest beta, and the issue still exists. I should mention two important points that I discovered:
    1) The issue does not occur in IE8, but affects IE9 only
    2) The issue does not exist when the DOCTYPE is omitted

    I've attached a graph of the memory usage below. As you can see, it takes a lot of refreshes (hundreds) before the pattern clearly emerges, much more than would be typical for any reasonable application. However, my concern is that the issue may be representative of deeper memory issues. It's also surprising that a page refresh would not reclaim all memory from the previous.



  4. #4
    Ext JS Premium Member yuriy's Avatar
    Join Date
    Sep 2009
    Vote Rating


    But seriously, why the hell is this not hotfixed as some kind of 4.1.4?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts