1. #1
    Ext User
    Join Date
    Sep 2008
    Location
    USA
    Posts
    13
    Vote Rating
    0
    SeiginoRaikou is on a distinguished road

      0  

    Default Ext.QuickTips + ASP.NET AJAX = IE Memory Leak?

    Ext.QuickTips + ASP.NET AJAX = IE Memory Leak?


    Not sure if this is a bug or not - might just be more of a compatibility issue: Use of ASP.NET AJAX and ExtJS's quick tips together seems to cause large memory problems in IE 7. A simple .aspx page to reproduce:
    Code:
    <%@ Page Title="" Language="C#" AutoEventWireup="false" 
      CodeFile="LeakTest.aspx.cs" Inherits="LeakTest" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head id="Head1" runat="server">
            <title>Untitled Page</title>
            <link rel="stylesheet" type="text/css" href="scripts/ext/resources/css/ext-all.css" />
    
            <script type="text/javascript" src="scripts/ext/adapter/ext/ext-base.js"></script>
            <script type="text/javascript" src="scripts/ext/ext-all-debug.js"></script>
        </head>
        <body>
            <form id="mainForm" runat="server">
                <asp:ScriptManager ID="scriptManager" runat="server" />
                <script type="text/javascript">
                  Ext.onReady(function() {
                    Ext.QuickTips.init();
                  });
                </script>
            </form>
        </body>
    </html>
    Running the page in sIEve will show IE leaking ~1MB every page refresh. FF 3 seems to reclaim memory fine. Note that removing either the ScriptManager tag or the Ext.QuickTips.init statement will stop the leaking. Any other ExtJS code besides initializing QuickTips seems irrelavant to the problem. Also, using a global function for Ext.onReady instead of an anonymous function doesn't affect the problem either.

    I traced through the Ext.QuickTips.init code (and code it calls) but couldn't find anything suspicious, maybe someone could provide some perspective on how this could occur?

  2. #2
    Ext User santosh.rajan's Avatar
    Join Date
    Sep 2007
    Location
    Kannur, Kerala, India
    Posts
    611
    Vote Rating
    0
    santosh.rajan is on a distinguished road

      0  

    Default


    Search the 2.0 bugs forum, and if this is not fixed yet, post this prob there.
    Make everything as simple as possible, but not simpler.
    - Albert Einstein

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."