David,
Tomcat is running as a Windows service, and the "jvm" startup parameter is
set to: "C:\j2sdk1.4.2_11\jre\bin\server\jvm.dll".  Do I also need to pass a
"-server" parameter?

Thanks,
-Bill


David Delbecq-2 wrote:
> 
> Hi,
> 
> check the jvm runs in "server" mode (check there is a '-server'
> parameter given to jvm startup). Server and client mode have different
> GC mecanisms.
> Bill Clarke-Fields a écrit :
>> Hi,
>> We are running an application on Tomcat 5.0.28 with Java 1.4.2.  The
>> usage
>> of the application is very cyclical.  It is used heavily during the day,
>> and
>> lightly at night.  During peak daytime hours, a full garbage collection
>> takes less than 2 seconds, which is fine.  However, after a long period
>> of
>> inactivity in the evening, a full garbage collection will be triggered
>> and
>> take a very long time.  Sometimes over a minute!
>>
>> Is there any way to avoid this long garbage collection?  Why does it take
>> so
>> long?  (Maybe because it is filling up with many small objects over time
>> rather than a few larger objects?)
>>
>> Thanks for your help.
>> -Bill
>>
>> p.s. Upgrading to a newer version of Tomcat or Java is unfortunately not
>> an
>> option at this point.
>>   
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Very-Long-Full-GC-after-Inactivity-tf4589459.html#a13101254
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to