tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Tomcat Dies
Date Tue, 25 Nov 2003 19:46:08 GMT


>Thanks for the reply.  Here is how I have the JAVA_OPTS set
>-XX:+UseConcMarkSweepGC -XX:+PrintGCDetails") I wanted you to see this
>incase there is a problem with the concurrent GC collector.

If there's a problem with the concurrent GC collector, I don't know of
it.  I assume that you've spent considerable time and research before
selecting the current maximum heap and collector.

It's not my, or anyone's on this list, place to tell you what GC
settings to use.  You need to:
- Determine the expect load on your system
- Determine how much memory your application requires to serve the
expected load
- Allocate that much memory to the JVM.

If someone in your organization had done this analysis and come up with
256MB, then either:
- His or her analysis was wrong
- His or her analysis has become outdated as your application has
- You have a memory leak.

If you have a leak then yes, setting the heap higher just means a longer
time until the server dies.  This is why leaks must be fixed.

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message