I notice something that is possibly similar in my app, eventually foun
d out the focus manager had a reference to a ui component in the
popup. You can see if it this by looking at references in the
profiler, by taking a memory snap shot and looking at your object 

Hope that helps Steve



--- In [email protected], jitendra jain
<[EMAIL PROTECTED]> wrote:
>
> Well Everytime i create a popup there is only as single instance.
But i don't want that also because My application is too big and iam
not wanting my application to occupy the memory. Thanks again. I will
read the link once again.
> Â Thanks,
> 
> with Regards,
> Jitendra Jain
> 
> 
> 
> 
> 
> ________________________________
> From: Ralf Bokelberg <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Monday, 10 November, 2008 1:19:37 PM
> Subject: Re: [flexcoders] Observer pattern
> 
> 
> 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
> <jitendra_jain_ [EMAIL PROTECTED] com> 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 <ralf.bokelberg@ gmail.com>
> > To: [EMAIL PROTECTED] ups.com
> > 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.
> > 
>  
> 
> 
>       Be the first one to try the new Messenger 9 Beta! Go to
http://in.messenger.yahoo.com/win/
>


Reply via email to