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
ter
>> > > 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 a
i:
> > >> 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)
> >
ugh
> >> 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]
&g
y)
>> thanks
>>
>> 2010/11/22 Caldarale, Charles R
>>
>> > 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
>>>
ough
> 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: OutOfMemoryError some time on some tomcat1
>
> > 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
> > Ja
> 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 thi
hi:
I've wrote an app with jsp and servlet, and I used four libs
commons.logging
common.httpclient
jdom
commons.codec
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
18 matches
Mail list logo