what do you intend with remove? are you calling a panel.clear()? panel.remove(widget)? i read somewhere that it's better to re-use always the same widgets... for example at the startup you create all the windows hided and during the app you show and hide instead of create/destroy it everytime..... Bye Pat
PS I'll check on my app so i'll let you know... PS Hiding/Showing is also the fastest solution but it's needs a bit of attention during cleaning/populating phases.... 2009/7/20 SunilBansal <[email protected]> > > I am not thinking same, because i am adding one GWT EXT widget on the > DeckPanel and when i am removing this widget then there is no release > of memory and when i am clicking on the same widget then memory is > constantly increasing. > > > > > On Jun 27, 3:44 pm, Patrizio De Michele <[email protected]> wrote: > > you want to hide or destroy the window?? > > i believe that when you close a window normally gwt-ext > > will release memory... > > bye Patrizio > > > > 2009/6/23 bmorsh <[email protected]> > > > > > > > > > I am new to GWT-Ext and not really a Javascript expert (well, know how > > > it looks like). I want to know how GWT EXT cleans up after itself. > > > When I do GWT programming, I make sure my widget are not referenced > > > once I am done with them (so the garbage collection can do its job - > > > and I hoping something like the Java one works in GWT). I don't want > > > to have leaks or dead areas sticking around as my GWT EXT app may run > > > for a long time and/or create and destroy many lists and pages. How > > > can I make sure, for instance, my dialog is closed and gone? All I can > > > do it show it and the hide it. In fact, I created a modal dialog and > > > did a (new MyDlg()).show() followed by another line, and I noticed the > > > other line ran at the same time the Dialog box was up (so, obviously > > > GWT EXT is not taking over the event queue - which makes sense - I > > > think). When the close button is pressed, I do a this.hide() to hide > > > it; does this mean the memory is released? No. How can I make sure it > > > is? > > > > > I thank you all in advance for any hints you can provide. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
