Hi,
I assume that I would just add -verbose:gc to my registry as another option?
 
Unfortunatly I think I know where the source of my problem lie, one of the most just 
applications is writting pretty bad and doesn't ever close database connections, 
resultssets or set then to null. This app cannot be changed right now so I'll have to 
fix it somehow.
 
Here is my plan:
Add -verbose:gc to registry.
Monitor output after adding -verbose:gc
Use stress testing tools to generate a high volume of requests and monitor memory 
consumption and gc behariour.
If all else fails, reload the box and install the latest version of tomcat, apache and 
the jdk.
 
Any other ideas?
 
Regards,
Jason

"Shapira, Yoav" <[EMAIL PROTECTED]> wrote:

Howdy,
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 [mailto:[EMAIL PROTECTED]
>Sent: Sunday, June 01, 2003 9:36 AM
>To: [EMAIL PROTECTED]
>Subject: -Xincgc, -Xms600, -Xmx600
>
>Hi,
>Recently my tomcat (jvm rather) 4 server started running at 100% CPU
>utilization and not service any request for long periods of time. This
must
>be due to the JVM doing garbase collection.
>
>I modified my system register appropriatly and but a few days later
(when
>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.
>
>Platform:
>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
ensure
>that incremental garbage collection is happening?
>
>Thanks
>Jason
>
>
>---------------------------------
>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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

Reply via email to