Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Sylvain Laurent
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

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Caldarale, Charles R
> 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

Re: OutOfMemoryError some time on some tomcat

2010-11-23 Thread Daniel Baktiar
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread Daniel Baktiar
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-23 Thread xu cheng
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

Re: OutOfMemoryError some time on some tomcat

2010-11-23 Thread Mark Thomas
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread Daniel Baktiar
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread xu cheng
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

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread 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 same app. and when I > undeploy the app, the perm gen didn't clean the

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread Daniel Baktiar
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread xu cheng
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread xu cheng
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) > >

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-22 Thread Daniel Baktiar
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

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
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 >>>

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
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 >

Re: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
> > 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

RE: OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread 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 > is apache-tomcat-6.0.29 > however , when I put this app on to another computer > with the same tomcat it throws thi

OutOfMemoryError some time on some tomcat!!!!1

2010-11-21 Thread xu cheng
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