• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: When can I expect my WOComponent to get garbage collected?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When can I expect my WOComponent to get garbage collected?


  • Subject: Re: When can I expect my WOComponent to get garbage collected?
  • From: Travis Britt <email@hidden>
  • Date: Tue, 25 May 2010 18:40:35 -0400

Are you storing a reference to your component instance somewhere?

But, the finalize method is not guaranteed to be called depending on your JVM and memory sitch. I only use it for freeing memory I allocate via native methods, which I doubt applies in this case?

tb

On May 25, 2010, at 6:00 PM, Ricardo J. Parada wrote:
> I have a component with its local editing context.  After the session expires, I was expecting to see the finalize method in my component to get called eventually, but it seems to stick around.  So I wondered, how long does a component stick around?  Or is there a list of things to avoid to prevent components from staying around forever?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >When can I expect my WOComponent to get garbage collected? (From: "Ricardo J. Parada" <email@hidden>)

  • Prev by Date: When can I expect my WOComponent to get garbage collected?
  • Next by Date: Re: Snow Leopard, Apache 2.2, Skewed Load Balancing?
  • Previous by thread: When can I expect my WOComponent to get garbage collected?
  • Next by thread: Re: When can I expect my WOComponent to get garbage collected?
  • Index(es):
    • Date
    • Thread