Results 1 to 10 of 20

Thread: [OPEN-1331] Extjs.Ajax (3.2.2) Leak

Threaded View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Sep 2009
    Vote Rating

    Default [OPEN-1331] Extjs.Ajax (3.2.2) Leak

    ExtJs version: 3.2.2


    I have a Javascript file that sends an AJAX request out to a server which hosts a PHP script that returns a random number. The returned AJAX value is written to a text field in a form and then the same request is sent to the server again. This process continues indefinitely.

    Issue: Web browser Memory usage is constantly increasing.

    Test results:

    Oct 8, 2010 at 4:03PM memory usage reported by Windows Task Manager

    FF: 27 016K
    Chrome: 15 616K
    IE 8: 26 368K

    Oct 12, 2010 at 8:36AM memory usage reported by Windows Task Manager

    FF: 64 220K
    Chrome: 49 304K
    IE 8: 47 268K

    As of recording the 8:36AM, memory usage has increased slightly.

    Tested Browsers: IE 8.0.7600.16385, Chrome 6.0.472.63, Firefox 3.6.10

    PHP source code:
        echo "response ".time();
    HTML + JAVASCRIPT source:

        <link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css"/> 
        <script type="text/javascript" src="extjs/adapter/ext/ext-base-debug.js"></script>
        <script type="text/javascript" src="extjs/ext-all-debug.js"></script>
    <script type="text/javascript">
        var simple = new Ext.FormPanel({
            labelWidth: 75, // label settings here cascade unless overridden
            title: 'Simple Form',
            bodyStyle:'padding:5px 5px 0',
            width: 350,
            defaults: {width: 230},
            defaultType: 'textfield',
            items: [
                    id: 'response_field',
                    fieldLabel: 'response',
                    name: 'response'
        function makeRequest(){
                       url: 'router.php',
                       success: function(response, opts){
                       failure: function(){
                       params: { 
                        foo: 'bar' 

    Is this a leak in the framework or is there something I can do to prevent the browser memory usage from constantly increasing?
    Last edited by wsi; 12 Oct 2010 at 8:57 AM. Reason: Spelt the title wrong. Changed title from Extj.Ajax to Extjs.Ajax

Similar Threads

  1. [OPEN-1001] Memory leak on buttons inside a window
    By VT-TizianoF in forum Ext 3.x: Bugs
    Replies: 2
    Last Post: 14 Oct 2010, 11:37 PM
  2. Replies: 14
    Last Post: 9 Dec 2009, 9:40 AM
  3. Partial solution to memory leak by ajax
    By sean.zhou in forum Community Discussion
    Replies: 4
    Last Post: 18 Nov 2008, 9:35 AM
  4. [2.2] Ext.QuickTips + ASP.NET AJAX = IE Memory Leak?
    By SeiginoRaikou in forum Ext 2.x: Bugs
    Replies: 14
    Last Post: 23 Sep 2008, 12:40 PM
  5. Ext.QuickTips + ASP.NET AJAX = IE Memory Leak?
    By SeiginoRaikou in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 15 Sep 2008, 9:19 PM

Tags for this Thread

Posting Permissions

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