I have deployed my web application under tomcat6 on windows server 2008. In office hours my application needs to respond to a lot of traffic. At that time it seems that the memory consumption of tomcat reaches say 8GB, however even more memory is available in the system, but my application's response time is very low and some times no response.

Is there some way that tomcat should call garbage collector after, say, 6GB memory is consumed?

link|improve this question
don't you mean "response time is very high"? – Javier Oct 27 '10 at 12:11
Have you set any JVM parameters for the heap such as Xmx, Xms etc at present? – JoseK Oct 27 '10 at 12:24
@JoseK: no i didn't do that can u guide what are these parameters and how to set them. – Ahsan Iqbal Oct 27 '10 at 14:08
@Javier: sorry i mean it is taking too much time to respond – Ahsan Iqbal Oct 27 '10 at 14:09
@JoseK: i have tried what you said, once i have put the limit it works very fine but when it reaches the limit it again have same problem. – Ahsan Iqbal Oct 27 '10 at 16:43
show 3 more comments
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.