Hi list, I got a nasty memory leak in my Flex app. I got a Menu Class that creates TitleWindows like this ...
window = NewWindow(PopUpManager.createPopUp(main, NewWindow, false)); On the currents Window's close event all EventListeners of it are removed and then I call removePopup(this) in the Window instance. I also use weak references but the window objects seems never to get removed after closing them. Everytime I open a new window instance Flash Player's task in the task manager takes up a couple more MB and they don't decrease after closing window instances. Is it necessary to dereference the windows object in the Menu object with window = null? The problem about that is that I'm not quite sure how and when to let the Menu know to dereference it. Thanks for any hint on this! Sascha -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

