Hi all,

in this code:

Code:
Ext.onReady(function(){
    
	 var btnAdd = new Ext.Button({
        text: 'Add 200 fields'
    });
	
	 var btnRemove = new Ext.Button({
        text: 'Remove all fields'
    });
	
	var p = new Ext.Panel({
        title: 'My Leak Panel',
        collapsible:true,
		collapsed: false,
		tbar: [btnAdd,btnRemove],
        width:400,
		height:300,
		renderTo: Ext.getBody()

		
    });
	
	btnAdd.on("click",function(s,e){
		for (var i=0;i<200;i++)
		{
			var btn = new Ext.Button({text: 'Button'});
			p.add(btn);
		}
		p.doLayout();
	});
	
	btnRemove.on("click",function(s,e){
		var count = p.items.length
		for (var i=0;i<count;i++)
		{
			p.remove(0,true);
		}
		p.doLayout();
	});
	
});
i create a panel and added 200 buttons. After remove the buttons, the memory on IE or FireFox don't returns to original memory.

This is a leak ? How i can resolve it ?

Thanks,
Daniel