Very difficult to debug, because we don't know, what is going on behind the scenes. Try googling Grant Skinner's articles about Flash Player memory and garbage collection. Might be helpful. Also you could try to create and destroy the popup a billion times and see, if the problem manifests into a real problem.
Ralf. On Mon, Nov 10, 2008 at 8:20 AM, jitendra jain <[EMAIL PROTECTED]> wrote: > Profiler still shows that popup occupied the memory. I'm > enforcing garbage Collector but not working. Let me know.. > > Thanks Relf for your reply. > > Thanks, > > with Regards, > Jitendra Jain > > > ________________________________ > From: Ralf Bokelberg <[EMAIL PROTECTED]> > To: [email protected] > Sent: Monday, 10 November, 2008 12:46:12 PM > Subject: Re: [flexcoders] Observer pattern > > Afaik the gc only runs, if the player is running out of memory. What > makes you think, that your popup doesn't get garbage collected? > > Ralf. > > On Mon, Nov 10, 2008 at 6:08 AM, jitendra jain > <jitendra_jain_ [EMAIL PROTECTED] com> wrote: >> Hi friends, >> >> I'm using Observer pattern to create popups in my application. But when i >> tried to remove PopUpManager. removePopUp( displayObj) , it does not get >> garbage collected. I even tried with assigning null to my Observer. ITs >> not >> working. I removed event Listeners and also firing Observer by setting the >> boolean 'false' the way we did with 'true'. But nothing seems working. >> >> Please help. >> >> Thanks, >> >> with Regards, >> Jitendra Jain >> >> >> >> ____________ _________ _________ __ >> Connect with friends all over the world. Get Yahoo! India Messenger. >> > > ________________________________ > Add more friends to your messenger and enjoy! Invite them now. >

