You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ed...@gmail.com on 2005/04/08 06:06:33 UTC

Re: JVM' sperm size always increase after hot deploy to tomcat 5.0.28

Hi,

I'm afraid the subject of this post caused it to go to my spam box, :->
L.

On Apr 8, 2005 6:18 AM, Paulo Alvim <al...@powerlogic.com.br> wrote:
> Hi,
> 
> We had a "war" file with about 30MB using JSP pre-compilation and hot deploy
> as suggested in the Tomcat web-site. But after using the hot deploy a few
> times we received "out of memory" messages - in the JVM permanent area
> (perm).
> 
> After migrating to 1.5.0_02 - to get better JVM information - we could see
> that the used perm size always increase until this max size, in "every
> Tomcat app reloading" (even with exploded files and Ant 'touches'). We
> always lost 7 to 15MB of the perm area in every reload process - and this
> area is never collected...
> 
> Anyone could help us with more information here (maybe about TC class
> loaders or perm area)?
> 
> Is there anyone with the same problem?
> 
> Thanks in advance!
> 
> Paulo Alvim
> Powerlogic
> Brazil
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


-- 
............._
:|  .| |.|/.|_ 
:|__.|_|.|\.|_
:0421 276 282.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: JVM's perm size always increase after hot deploy to tomcat 5.0.28

Posted by Mieke Banderas <mi...@gamebox.net>.
edencane@gmail.com said:

>I'm afraid the subject of this post caused it to go to my spam box, :->
Was that before or after you moved that "s"? 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RES: RES: JVM' sperm size always increase after hot deploy to tomcat 5.0.28

Posted by Paulo Alvim <al...@powerlogic.com.br>.
Hi!

Anyone could tell us if TC 5.5.x has improvements in the JVM's perm memory
area management?

-----Mensagem original-----
De: Paulo Alvim [mailto:alvim@powerlogic.com.br]
Enviada em: sábado, 9 de abril de 2005 14:53
Para: Tomcat Users List
Assunto: RES: RES: JVM' sperm size always increase after hot deploy to
tomcat 5.0.28


Thanks Michael...

But we had already tried to put both the "PropertyUtils.clearDescriptors();"
and the "Introspector.flushCaches();" in the ServletContextListener -
contextDestroyed and it didn't help so much (...) I'll try also with the
logging "LogManager.shutdown();".

But "try Tomcat 5.5x" - do you recommend that because it has improvements in
this area?

-----Mensagem original-----
De: Michael Echerer [mailto:mech@tngtech.com]
Enviada em: sábado, 9 de abril de 2005 07:23
Para: Tomcat Users List
Assunto: Re: RES: JVM' sperm size always increase after hot deploy to
tomcat 5.0.28




Paulo Alvim wrote:
> Thank you all
>
> It's good to know that we're not alone...but since we used to have
workable
> 'hot deploy' others pre-J2EE App Servers our customers will insist with
> that - maybe we'll have to reconsider other App Server as our main
> Open-Source production environment option.
>
> Does anyone know if JBoss 4 makes improvement in this area? I really can't
> believe that it's so hard...
>
Guess that won't help, because JBoss uses Tomcat as web container.

Check: http://issues.apache.org/bugzilla/show_bug.cgi?id=26135 and try
Tomcat 5.5x

Generally these undeploy memory leakage issues are mainly "coded" into
the webapp or in libraries. Some references won't be garbage collected
when undeploying. There seem to be problems with commons-logging and
beanutils, but could also be self-made, of course.

Cheers,
Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RES: RES: JVM' sperm size always increase after hot deploy to tomcat 5.0.28

Posted by Paulo Alvim <al...@powerlogic.com.br>.
Thanks Michael...

But we had already tried to put both the "PropertyUtils.clearDescriptors();"
and the "Introspector.flushCaches();" in the ServletContextListener -
contextDestroyed and it didn't help so much (...) I'll try also with the
logging "LogManager.shutdown();".

But "try Tomcat 5.5x" - do you recommend that because it has improvements in
this area?

-----Mensagem original-----
De: Michael Echerer [mailto:mech@tngtech.com]
Enviada em: sábado, 9 de abril de 2005 07:23
Para: Tomcat Users List
Assunto: Re: RES: JVM' sperm size always increase after hot deploy to
tomcat 5.0.28




Paulo Alvim wrote:
> Thank you all
>
> It's good to know that we're not alone...but since we used to have
workable
> 'hot deploy' others pre-J2EE App Servers our customers will insist with
> that - maybe we'll have to reconsider other App Server as our main
> Open-Source production environment option.
>
> Does anyone know if JBoss 4 makes improvement in this area? I really can't
> believe that it's so hard...
>
Guess that won't help, because JBoss uses Tomcat as web container.

Check: http://issues.apache.org/bugzilla/show_bug.cgi?id=26135 and try
Tomcat 5.5x

Generally these undeploy memory leakage issues are mainly "coded" into
the webapp or in libraries. Some references won't be garbage collected
when undeploying. There seem to be problems with commons-logging and
beanutils, but could also be self-made, of course.

Cheers,
Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: RES: JVM' sperm size always increase after hot deploy to tomcat 5.0.28

Posted by Michael Echerer <me...@tngtech.com>.

Paulo Alvim wrote:
> Thank you all
> 
> It's good to know that we're not alone...but since we used to have workable
> 'hot deploy' others pre-J2EE App Servers our customers will insist with
> that - maybe we'll have to reconsider other App Server as our main
> Open-Source production environment option.
> 
> Does anyone know if JBoss 4 makes improvement in this area? I really can't
> believe that it's so hard...
> 
Guess that won't help, because JBoss uses Tomcat as web container.

Check: http://issues.apache.org/bugzilla/show_bug.cgi?id=26135 and try
Tomcat 5.5x

Generally these undeploy memory leakage issues are mainly "coded" into
the webapp or in libraries. Some references won't be garbage collected
when undeploying. There seem to be problems with commons-logging and
beanutils, but could also be self-made, of course.

Cheers,
Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RES: JVM' sperm size always increase after hot deploy to tomcat 5.0.28

Posted by Paulo Alvim <al...@powerlogic.com.br>.
Thank you all

It's good to know that we're not alone...but since we used to have workable
'hot deploy' others pre-J2EE App Servers our customers will insist with
that - maybe we'll have to reconsider other App Server as our main
Open-Source production environment option.

Does anyone know if JBoss 4 makes improvement in this area? I really can't
believe that it's so hard...



-----Mensagem original-----
De: edencane@gmail.com [mailto:edencane@gmail.com]
Enviada em: sexta-feira, 8 de abril de 2005 01:07
Para: Tomcat Users List
Assunto: Re: JVM' sperm size always increase after hot deploy to tomcat
5.0.28


Hi,

I'm afraid the subject of this post caused it to go to my spam box, :->
L.

On Apr 8, 2005 6:18 AM, Paulo Alvim <al...@powerlogic.com.br> wrote:
> Hi,
>
> We had a "war" file with about 30MB using JSP pre-compilation and hot
deploy
> as suggested in the Tomcat web-site. But after using the hot deploy a few
> times we received "out of memory" messages - in the JVM permanent area
> (perm).
>
> After migrating to 1.5.0_02 - to get better JVM information - we could see
> that the used perm size always increase until this max size, in "every
> Tomcat app reloading" (even with exploded files and Ant 'touches'). We
> always lost 7 to 15MB of the perm area in every reload process - and this
> area is never collected...
>
> Anyone could help us with more information here (maybe about TC class
> loaders or perm area)?
>
> Is there anyone with the same problem?
>
> Thanks in advance!
>
> Paulo Alvim
> Powerlogic
> Brazil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


--
............._
:|  .| |.|/.|_
:|__.|_|.|\.|_
:0421 276 282.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org