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 inevitable OutOfMemory error. The "YourKit" profiler is frequently mentioned on this list, but there are others. p > -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 <peter.crowt...@melandra.com >> wrote: > >>> 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 your application has a memory leak somewhere - and it is almost >> always the application, not Tomcat :-). Use a profiler to find out where >> all the memory is going. >> >> Do you get out-of-memory errors in the Tomcat log files if you leave the >> application running even once it has become slow? >> >> - Peter >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org