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
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
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.h
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
>
Using any decent profiler will tell you who is holding the references
to the actions.
musachy
On Fri, Jul 10, 2009 at 10:23 AM, Anselmo wrote:
>
> Hi guys, thanks for your answers.
>
> Atually I'm not using the spring framework. I use hibernate and have a lot
> of entity beans in the actions.
>
>
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
Hi guys, thanks for your answers.
Atually I'm not using the spring framework. I use hibernate and have a lot
of entity beans in the actions.
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
pos
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
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
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
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
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.
--
"Obviously Actions in my app are not garbage collected until a major
collection when the heap is full."
If they are garbage collected, then it is ok, the GC has a mind of its
own. If your actions are singletons (and they shouldn't be!) then they
are not likely to be collected.
musachy
On Fri, J
13 matches
Mail list logo