Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2012
    Posts
    4
    Vote Rating
    1
    Richard.Spille is on a distinguished road

      0  

    Default Open and Close New Tab Memory Leak IE9 HTML 5

    Open and Close New Tab Memory Leak IE9 HTML 5


    REQUIRED INFORMATION

    Ext version tested:
    • ExtJS 3.4.0
    • ExtJS 3.4.1
    Browser versions tested against:
    • IE9
    DOCTYPE tested against:
    • HTML 5
    Description:
    • Opening and closing several new tabs leaks memory.
    Steps to reproduce the problem:
    • In the attached example, create several (~10) new tabs and close them.
    • Repeat
    The result that was expected:
    • Browser memory increases on creation of new tabs
    • Browser memory returns to baseline after closing new tabs
    The result that occurs instead:
    • Browser memory never returns to baseline after opening and closing new tab
    Test Case:

    Code:
    Ext.onReady(function(){    
        // Tab Panel with New Tab button.
        // New tabs are closable and have 
        // a large string as html content.
        
        var p = new Ext.Viewport({
            layout: {
                type: 'border'
            }
            ,items: [{
                region: 'center'
                ,xtype: 'tabpanel'
                ,title: 'Tab Panel'
                ,activeTab: 0
                ,tbar: [{
                    text: 'New Tab'
                    ,handler: function newTabBtnHndlr(btn, e){
                        var tp, newTab;
                        
                        tp = btn.findParentByType('tabpanel');
                        
                        newTab = tp.add({
                            title: Math.round((new Date()).getTime() / 1000)
                            ,closable: true
                            ,html: (new Array(10*1024*1024)).join("x") // big string
                        });
                        
                        tp.setActiveTab(newTab);
                    }
                }]
                ,items: [{
                    title: 'Tab 1'
                    ,html: '<p><br>&nbsp;&nbsp;Press the New Tab button to create some new tabs, then close the tabs.</p>'
                }]
            }]
        });
    });

    HELPFUL INFORMATION

    Screenshot or Video:
    • not provided

    Debugging already done:
    • none
    Possible fix:
    • not provided
    Additional CSS used:
    • only default ext-all.css
    Operating System:
    • Windows 7 32bit
    Attached Files

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,731
    Vote Rating
    754
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Have you tried with 3.4.1?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    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 Premium Member
    Join Date
    Dec 2012
    Posts
    4
    Vote Rating
    1
    Richard.Spille is on a distinguished road

      0  

    Default


    The results seem to be about the same.

    Quote Originally Posted by mitchellsimoens View Post
    Have you tried with 3.4.1?

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar