Re: GC Problem

2009-05-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 4/29/2009 9:55 AM, Pid wrote: > S Arvind wrote: >> Is there any good settings for GC for tomcat running in server with 4GB and >> Quad Core processor. I bascially need GC parameter for RESOURCE HUNGRY WEB >> APPLICATION > > Why not try fixing

Re: GC Problem

2009-04-29 Thread Juha Laiho
S Arvind wrote: > Yeah daily atleast once Out-of-memory will raise and we will restart the > tomcat. As others have already said, this has all the symptoms of a memory leak. It could be Tomcat, but more likely is your application. The continuous GC is a sign of the Java VM running out of memory a

Re: GC Problem

2009-04-29 Thread Pid
S Arvind wrote: > Is there any good settings for GC for tomcat running in server with 4GB and > Quad Core processor. I bascially need GC parameter for RESOURCE HUNGRY WEB > APPLICATION Why not try fixing the memory leak instead? Reconfiguring the JVM params, memory or GC will only delay the inevi

RE: GC Problem

2009-04-29 Thread Peter Crowther
> From: S Arvind [mailto:arvindw...@gmail.com] > Is there any good settings for GC for tomcat running in > server with 4GB and Quad Core processor. "As much RAM as the OS doesn't need for other purposes". There's no straiht answer for this, as it depends what else is running on the box. You mig

Re: GC Problem

2009-04-29 Thread S Arvind
Is there any good settings for GC for tomcat running in server with 4GB and Quad Core processor. I bascially need GC parameter for RESOURCE HUNGRY WEB APPLICATION -Arvind S * "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison *

RE: GC Problem

2009-04-29 Thread Peter Crowther
> From: S Arvind [mailto:arvindw...@gmail.com] > Yeah daily atleast once Out-of-memory will raise and we will > restart the tomcat. As the amount of free memory goes down, the JVM will have to collect garbage more and more frequently, until you get the symptoms you see where it is spending most

Re: GC Problem

2009-04-29 Thread S Arvind
Yeah daily atleast once Out-of-memory will raise and we will restart the tomcat. Arvind S * "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison* On Wed, Apr 29, 2009 at 6:19 PM, Peter Crowther wrote: > > From: S Arvind [mail

RE: GC Problem

2009-04-29 Thread Peter Crowther
> From: S Arvind [mailto:arvindw...@gmail.com] > Tomcat after running for couple of hours , somthing is > getting wrong and it > is keep on doing Garbage Collection(as it dispaly in console) > . And tomcat > also becoming dump slow.. and we cant able to do any, until > it restarts... I suspect you

Re: GC Problem

2009-04-29 Thread S Arvind
in console its keep on displaying this every second.. 12945.607: [Full GC [PSYoungGen: 340288K->39757K(343552K)] [PSOldGen: 699071K->699071K(699072K)] 1039359K->738829K(1042624K) [PSPermGen: 346754K->346754K(346816K)], 2.6522010 secs] sessionCreated->C63974AACCC2800C89576C0C693467CB 12948.363:

GC Problem

2009-04-29 Thread S Arvind
Tomcat after running for couple of hours , somthing is getting wrong and it is keep on doing Garbage Collection(as it dispaly in console) . And tomcat also becoming dump slow.. and we cant able to do any, until it restarts... JAVA_HOME=/usr/java/jdk1.5.0_13 JRE_HOME=/usr/java/jdk1.5.0_13/jre expo