Re: Actions are not Garbage Collected

2009-07-12 Thread musomesa
It is unlikely but if your actions have a finalize() method they won't be collected by minor GCs Chris -Original Message- From: Anselmo To: user@struts.apache.org Sent: Sat, Jul 11, 2009 2:55 am Subject: Re: Actions are not Garbage Collected The only referen

Re: Actions are not Garbage Collected

2009-07-10 Thread Dale Newfield
Anselmo wrote: The only references I have to my action are localeProvider of com.opensymphony.xwork2.TextProviderSupport which has references from the action again. Is this maybe running in circles? A circular reference could explain why one type of GC sweep would not free that, but another

Re: Actions are not Garbage Collected

2009-07-10 Thread Anselmo
The only references I have to my action are localeProvider of com.opensymphony.xwork2.TextProviderSupport which has references from the action again. Is this maybe running in circles? -- View this message in context: http://www.nabble.com/Actions-are-not-Garbage-Collected-tp24425128p24432059

RE: Actions are not Garbage Collected

2009-07-10 Thread Martin Gainty
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Date: Fri, 10 Jul 2009 10:32:23 -0700 > Subject: Re: Actions are not Garbage Collected > From: musa...@gmail.com > To: user@struts.apache.org >

Re: Actions are not Garbage Collected

2009-07-10 Thread Musachy Barroso
ontext: > http://www.nabble.com/Actions-are-not-Garbage-Collected-tp24425128p24431582.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr.

Re: Actions are not Garbage Collected

2009-07-10 Thread Dale Newfield
Anselmo wrote: If I call 50 actions i have 50 of them in the memory and every action has e.g. 50 products, so i have 2500 of the same products in my memory. Is der a possibility to somehow cache the instances of the entities? look into ehcache If you're not using spring, what's instantiating t

Re: Actions are not Garbage Collected

2009-07-10 Thread Anselmo
der a possibility to somehow cache the instances of the entities? Thx -- View this message in context: http://www.nabble.com/Actions-are-not-Garbage-Collected-tp24425128p24431582.html Sent from the Struts - User mailing list archive at Nabbl

RE: Actions are not Garbage Collected

2009-07-10 Thread Martin Gainty
n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Fri, 10 Jul 2009 10:09:30 -0700 > Subject: Re: Actions are not Garbage

Re: Actions are not Garbage Collected

2009-07-10 Thread Musachy Barroso
lich. Sollten Sie nicht der vorgesehene Empfaenger > sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung > oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich > dem Austausch von Informationen und entfaltet keine rechtliche > Bindungswirkung. A

RE: Actions are not Garbage Collected

2009-07-10 Thread Martin Gainty
iche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Date: Fri, 10 Jul 2009 11:10:17 -0400 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: Actions are not Garbage Collected > > Mus

Re: Actions are not Garbage Collected

2009-07-10 Thread Dale Newfield
Musachy Barroso wrote: On Fri, Jul 10, 2009 at 7:53 AM, Musachy Barroso wrote: If your actions are singletons (and they shouldn't be!) then they are not likely to be collected. because a reference to them will be held by spring, or whatever container you are using. Or maybe clickstream? htt

Re: Actions are not Garbage Collected

2009-07-10 Thread Musachy Barroso
On Fri, Jul 10, 2009 at 7:53 AM, Musachy Barroso wrote: > If your actions are singletons (and they shouldn't be!) then they > are not likely to be collected. because a reference to them will be held by spring, or whatever container you are using. --

Re: Actions are not Garbage Collected

2009-07-10 Thread Musachy Barroso
ppens with the showcase app from struts. > > Any idea which objects still reference the Actions or why they are not > garbage collected after the request has finished. > > Thanks in advance > -- > View this message in context: > http://www.nabble.com/Actions-are-not-Garbage-C

Actions are not Garbage Collected

2009-07-10 Thread Anselmo
Actions or why they are not garbage collected after the request has finished. Thanks in advance -- View this message in context: http://www.nabble.com/Actions-are-not-Garbage-Collected-tp24425128p24425128.html Sent from the Struts - User mailing list archive at Nabble.com