>Before my manager insists that we switch to JRun,  

Arg !!!

>can any of 
>the Tomcat
>developers help with a problem of an ever increasing heap size of the
>Tomcat java.exe. ??  (We are running Tomcat 3.2.3 and JRE1.3.1. and the
>IIS redirector)

May I suggest you to switch to Tomcat 3.3 instead which is faster than
TC 3.2 and give you better arguments for your manager ?)

>We are running a load test using LoadRunner scripts on some JSP and
>servlets that are running under Tomcat.  The load is not all that heavy
>but the heap size of the Tomcat java.exe process keeps growing and
>growing. We modified the java command line to start with  -Xmx128m to
>allow 128 MB of heap but we still max out after a day or so.   We even
>modified one of our servlets to create a thread that runs  Runtime.gc()
>every 30 seconds.   The LoadRunner scripts just keep logging 
>in the same
>5 people via our authentication servlet so you would think memory use
>would level out at some point.

Tomcat 3.3 is more efficient in memory allocation and reuse which give
you a more stable and less memory hog servlet engine than previous release.
Nota that Tomcat 3.3 is the Reference Implementation for Servlet 2.2/JSP 1.1
Also jsp are really faster in TC 3.3 than in TC 3.2

>Nothing we do seems to keep the heap size from growing.  
>
>Are there known issues with Tomcat and heap size??
>
>Doing a web search revealed numerous posts with people having similar
>problems so I believe there is a problem.   The standard response these
>people receive is to increase the heap size via -Xmx   But that seems
>like a band-aid rather than a real solution.   That just delays the
>inevitable.
>
>Any insight as to how to keep the Tomcat process from grabbing more and
>more memory would be appreciated.

Do you try :

-Xms128 -Xmx128M ?

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to