Increase the MaxPermSize in Java

2010-11-13 Thread rujin raj
Hi, Where can i see the default value of MaxPermSize in java. I am using Tomcat 5.5 and java 1.6 and the operating system is windows 2008 server. How can i increase the maxpermsize in java in windows mode rujin

Re: Increase the MaxPermSize in Java

2010-11-13 Thread Leon Rosenberg
http://tinyurl.com/34hlbxl :-) regards Leon On Sat, Nov 13, 2010 at 11:39 AM, rujin raj rujin...@gmail.com wrote: Hi, Where can i see the default value of MaxPermSize in java. I am using Tomcat 5.5 and java 1.6 and the operating system is windows 2008 server. How can i increase the

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Mark Thomas
On 12/11/2010 20:35, Brian wrote: Ok, I will do that now! I have taken another snapshot of the JVM a few minutes ago. Now I also see that 160MB are being used by org.apache.jasper.runtime.BodyContextImpl. This contains images of my DYNAMIC pages! That is sort of what I'd expect. A little

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Mark Thomas
On 12/11/2010 20:44, Christopher Schultz wrote: In fact, that's a good test: search your memory snapshot for instances of WebappClassLoader. There's a boolean in each one (active I think) It is started. that tells you if it's active. Force a couple of full GCs, then see how many of them are

Re: RequestDumperFilter improvement

2010-11-13 Thread Mark Thomas
On 12/11/2010 20:51, Christopher Schultz wrote: All, I would like to propose a new feature for the RequestDumperFilter that is similar to the AccessLogValve's condition setting, except that it is logically opposite: it would be nice to allow a Filter ahead of the RequestDumperFilter in the

Re: 7.0.4 problem

2010-11-13 Thread Mark Thomas
On 13/11/2010 00:30, Anthony J. Biacco wrote: Centos 5.5 Linux x64 Mysql connector j 5.1.13 Tomcat 7.0.4 w/apr ajp Mysql cluster 7.1.3 Jdk 1.6.0_21 x64 Anybody aware of any problems with this combination? Using jmeter to load test my servlet, i see mysql threads held up indefinately

Re: Increase the MaxPermSize in Java

2010-11-13 Thread Mark Thomas
On 13/11/2010 10:39, rujin raj wrote: Hi, Where can i see the default value of MaxPermSize in java. I am using Tomcat 5.5 and java 1.6 and the operating system is windows 2008 server. Default can depend on additional factors such as memory and number of CPUs. It varies from operating system

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Caldarale, Charles R
From: Brian [mailto:bbprefix-m...@yahoo.com] Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses? the Eden Space is barely used (10MB right now). The survivor space is even less used (1MB right now). An object is normally created in Eden and will migrate to survivor if

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Pid
On 12/11/2010 21:27, Leon Rosenberg wrote: P.S. I have a small tool that creates a diff of two subsequent histograms, i can share it if you need it. Post it to the wiki, perhaps? p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Pid
On 13/11/2010 01:13, Brian wrote: I had noticed some warnings about that indeed. What might those have been? Posting the information about what you found will help others understand the process you've been through, whether their problem is similar to yours and if a similar solution applies. p

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Leon Rosenberg
On Sat, Nov 13, 2010 at 10:19 PM, Pid p...@pidster.com wrote: On 12/11/2010 21:27, Leon Rosenberg wrote: P.S. I have a small tool that creates a diff of two subsequent histograms, i can share it if you need it. Post it to the wiki, perhaps? Which page would fit best? Leon p

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Brian
Hi Leon, Thanks for your suggestion and sorry for responding so late. I had to take a break from this issue at least for a day. I had been working on this for 3 days in a row and barely sleeping at night, because of the crashes. As soon as I saw my installation not crashing, I needed to take a

Share session between apps

2010-11-13 Thread PeiSong Xiong
Hi guys, Any suggestion on how to share session status on web apps deployed on the same tomcat instance? Kind of sso for container. Sent from my Windows Phone

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Brian
Hi Mark, This is interesting. I got a snapshot of the memory. I found just about 91 instances of this class (org.apache.jasper.runtime.BodyContentImpl). Just 91, so I guess the quantity of buffers at the same time is small, maybe they belong to a pool and the maximum quantity of objects in the

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-13 Thread Brian
Hi Chuck, Thanks for your explanations. My PermGen seems to be normal, low and steady. It seems that I solved my problems! So far, these are my conclutions: - Very often, when I restart/redeploy my app, some garbage is left in the memory. I don't know why, given that my code closes everything