!
On 23 November 2010 14:10, Caldarale, Charles R
chuck.caldar...@unisys.comwrote:
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time on some tomcat1
I just kept redeploying apps , and the perm gen keep
growing each time I deploy the same app. and when
),
for example.
---
daniel baktiar
http://savinggaia.tritiumapps.com - saving the planet is everyone's
business!
On 23 November 2010 14:10, Caldarale, Charles R
chuck.caldar...@unisys.comwrote:
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time on some tomcat1
hanging onto a reference to an object from your webapp classes,
preventing the old webapp deployment from being garbage collected.
what kind of object do you mean by saying
Don't bother with jhat, try eclipse Memory Analysis Tool instead. It's much
more friendly and efficient to find leaks.
On 23 nov. 2010, at 12:18, xu cheng wrote:
hi, Chuck.Caldarale
I referenced to these two links
http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java
hi xu cheng,
having a powerful machine with big memory is good. but don't assume that
everything will be used automatically.
the jvm doesn't automatically use all the resources in your memory when you
start tomcat. you need to configure it.
try to add something like this:
hi Daniel
thanks alot for replying.
I don't know how to figure out how much the param MaxPermSize is set to. may
be it's set to be default. I just set the xmx and xms, so I thought that the
memory will absolutely enough, I didn't
notice this param, my fault.
I did an experiment on tomcat , I
ps:
after several times of redeployment,
java.lang.OutOfMemoryError: PermGen space comes up.
I always redeploy the apps *without* shutting down the server
在 2010年11月23日 下午1:50,xu cheng xcheng@gmail.com写道:
hi Daniel
thanks alot for replying.
I don't know how to figure out how much the
hi xu cheng,
don't mention it.
glad you've eventually solved your problem.
daniel
---
daniel baktiar
http://savinggaia.tritiumapps.com - saving the planet is everyone's
business!
2010/11/23 xu cheng xcheng@gmail.com
hi Daniel
thanks alot for replying.
I don't know how to figure out
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time on some tomcat1
I just kept redeploying apps , and the perm gen keep
growing each time I deploy the same app. and when I
undeploy the app, the perm gen didn't clean the garbage
Exactly the situation
? for example?
thanks
2010/11/23 Caldarale, Charles R chuck.caldar...@unisys.com
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time on some tomcat1
I just kept redeploying apps , and the perm gen keep
growing each time I deploy the same app. and when
),
for example.
---
daniel baktiar
http://savinggaia.tritiumapps.com - saving the planet is everyone's
business!
On 23 November 2010 14:10, Caldarale, Charles R
chuck.caldar...@unisys.comwrote:
From: xu cheng [mailto:xcheng@gmail.com]
Subject: Re: OutOfMemoryError some time on some tomcat1
From: xu cheng [mailto:xcheng@gmail.com]
Subject: OutOfMemoryError some time on some tomcat1
the app works pretty well on my pc, and the tomcat
is apache-tomcat-6.0.29
however , when I put this app on to another computer
with the same tomcat it throws this exception
Java
hi:
thanks for replying
the app is running on a powerful server and the memory is suppose to be
enough
I'll check if there is a memory leak,(althouth the app is suppose to use
only a few memory)
thanks
2010/11/22 Caldarale, Charles R chuck.caldar...@unisys.com
From: xu cheng
by the way,
it doesn't throws this exception while running on my computer
it is only when the app is deploy on another computer that this problem
occur
2010/11/22 xu cheng xcheng@gmail.com
hi:
thanks for replying
the app is running on a powerful server and the memory is suppose to be
after tracing the app with jprofiler for several hours , I still cannot
figure the problem.
it seems that the app doesn't use a lot of memory.
and it still run pretty well in my computer.and after it is deployed in the
server, it crash
the problem of the environment? but the tomcat on the
15 matches
Mail list logo