tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: -Xincgc, -Xms600, -Xmx600
Date Mon, 02 Jun 2003 13:35:49 GMT

You can enable the -verbose:gc switch and see how often GC is occurring.
Incremental GC will occur all the time pretty much.

Note that your core problem may be deeper.  Why did memory consumption
hit 600MB?  Is that expected?  If so, you should ensure the heap has
more allocated than what you expect to need.  

If this is not expected, find out what's holding on to data and modify
the relevant code so that garbage collection can reclaim this space.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Jason Efting []
>Sent: Sunday, June 01, 2003 9:36 AM
>Subject: -Xincgc, -Xms600, -Xmx600
>Recently my tomcat (jvm rather) 4 server started running at 100% CPU
>utilization and not service any request for long periods of time. This
>be due to the JVM doing garbase collection.
>I modified my system register appropriatly and but a few days later
>memory consuption hit 600MB) tomcat started acting funny again.
>Here is what I did to modify my register:
>1. Stop "Apache Tomcat" service
>2. Stop "Apache" service.
>3. Modify/Add registry keys.
>4. Start "Apache Tomcat" service
>5. Start "Apache" service
>Please not that I did not restart the entire box.
>Windows 2000 Server SP3
>Tomcat 4
>1GB Physical RAM
>I cannot see any change I the servers behaviour since I modifeid the
>registry. What would you suggest I do to test my new settings and
>that incremental garbage collection is happening?
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo.

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