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
> ht
> 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
hi mark,
thank you for showing my mistake. my apology to chuck also.
i will read the article.
---
daniel baktiar
http://savinggaia.tritiumapps.com - saving the planet is everyone's
business!
On 23 November 2010 18:50, Mark Thomas wrote:
> On 23/11/2010 06:55, Daniel Baktiar wrote:
> > hi ch
saving the planet is everyone's
> > business!
> >
> >
> >
> >
> > On 23 November 2010 14:10, Caldarale, Charles R
> > wrote:
> >
> > > > From: xu cheng [mailto:xcheng@gmail.com]
> > > > Subject: Re: OutOfMemoryError some time on
t; http://savinggaia.tritiumapps.com - saving the planet is everyone's
> business!
>
>
>
>
> On 23 November 2010 14:10, Caldarale, Charles R
> wrote:
>
> > > From: xu cheng [mailto:xcheng@gmail.com]
> > > Subject: Re: OutOfMemoryError some time on some to
On 23/11/2010 06:55, Daniel Baktiar wrote:
> hi charles,
>
> please allow me to disagree to that "hanging onto reference" as the main
> issue.
Daniel,
You are completely wrong. I suggest you read this:
http://wiki.apache.org/tomcat/MemoryLeakProtection
and try out some of the sample code with a
just in time compilation),
for example.
---
daniel baktiar
http://savinggaia.tritiumapps.com - saving the planet is everyone's
business!
On 23 November 2010 14:10, Caldarale, Charles R
wrote:
> > From: xu cheng [mailto:xcheng@gmail.com]
> > Subject: Re: OutOfMemoryError
else? for example?
thanks
2010/11/23 Caldarale, Charles R
> > 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 s
> 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
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
> hi Daniel
> thanks alot for replying.
>
> I don't know how to figure out how much the par
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 写道:
> hi Daniel
> thanks alot for replying.
>
> I don't know how to figure out how much the param MaxPermSize i
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 just
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:
*CATALINA_OPTS="-XX:MaxPe
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 serv
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
> hi:
> thanks for replying
> the app is running on a powerful server and the memory is suppose to be
> enough
> I'll check
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
> > From: xu cheng [mailto:xcheng@gmail.com]
> > Subject:
> 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 Ho
17 matches
Mail list logo