Re: the memory puzzle me....

2010-11-23 Thread xu cheng
alVM+with+Oracle+Application+Server > > Blair > > > On Nov 23, 2010, at 9:54 PM, xu cheng wrote: > > thanks!!! you really help me a lot! >> >> someone knows how to figure out how much permanent gen my vm is using? >> >> 2010/11/24 Caldarale, Charles R

Re: the memory puzzle me....

2010-11-23 Thread xu cheng
I got it jmap -heap will print many things 2010/11/24 xu cheng > thanks!!! you really help me a lot! > > someone knows how to figure out how much permanent gen my vm is using? > > 2010/11/24 Caldarale, Charles R > >> > From: xu cheng [mailto:xcheng@gmail.co

Re: the memory puzzle me....

2010-11-23 Thread xu cheng
thanks!!! you really help me a lot! someone knows how to figure out how much permanent gen my vm is using? 2010/11/24 Caldarale, Charles R > > From: xu cheng [mailto:xcheng@gmail.com] > > Subject: Re: the memory puzzle me > > > by the way, do you know *any tool

Re: the memory puzzle me....

2010-11-23 Thread xu cheng
with this I used some other profiler tools but they just show* how much* perm gen was used, but not *what they are used for* thanks best regards 2010/11/24 Caldarale, Charles R > > From: xu cheng [mailto:xcheng@gmail.com] > > Subject: Re: the memory puzzle me > >

Re: the memory puzzle me....

2010-11-23 Thread xu cheng
thanks, by the way, the permanent generation is also collected by major gc? and what will trigger a gc in the permanent generation best regards 2010/11/24 Caldarale, Charles R > > From: xu cheng [mailto:xcheng@gmail.com] > > Subject: the memory puzzle me > > > I ob

the memory puzzle me....

2010-11-23 Thread xu cheng
hi; I oberved the heap of the jvm which runs tomcat without deploying any webapp. and it's some kind like this /|/|/|/|/|/| when the used heap goes up, there is a memory use of the heap, maybe allocation for the new class instances, and when it goes down , there is a gc, am I right? but I didn

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!!!!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 xu cheng
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

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

2010-11-22 Thread xu cheng
the point. by the way , this aritical help me a lot to understand it. http://blogs.sun.com/jonthecollector/entry/presenting_the_permanent_generation thanks again for helping 2010/11/23 Daniel Baktiar > hi xu cheng, > > having a powerful machine with big memory is good. but don&

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

2010-11-21 Thread xu cheng
n the server has been running for a really long time with out any problem what's the point?.oh no (°ο°) 2010/11/22 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 proble

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

2010-11-21 Thread 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 > hi: > thanks for replying > the app is running on a powerful server and the memory is suppose to be > en

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

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

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

Re: the tomcat encoding

2010-11-16 Thread xu cheng
hi: thanks, the problem is that my tomcat interact with other server and the server use somekind of encoding that is different. and after the encoding is transfered .it works now thanks 2010/11/17 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Rob, > > On 11/16/2010 4:

the tomcat encoding

2010-11-15 Thread xu cheng
hi all: I wrote an app and there are some chinese content, and there are some code like this str = new String(chineseContentString.getBytes("iso-8859-1"), "utf-8"); the app runs pretty well in the tomcat of my pc. however ,when it was deployed in other machine. all the Chinese content becomes mes