-
11 Dec 2012 12:08 PM #1
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
- IE9
- HTML 5
- Opening and closing several new tabs leaks memory.
- In the attached example, create several (~10) new tabs and close them.
- Repeat
- Browser memory increases on creation of new tabs
- Browser memory returns to baseline after closing new tabs
- Browser memory never returns to baseline after opening and closing new tab
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> 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
- not provided
- only default ext-all.css
- Windows 7 32bit
-
11 Dec 2012 12:47 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
Have you tried with 3.4.1?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
11 Dec 2012 12:58 PM #3
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote