There is a known problem with SUNs compiler "javac" and Tomcat. If you
are  using the standard configuration javac and Tomcat uses the same
JVM. Soon or later this will produce an "out of memory".
To prevent this, you can either update your JRE to Java 5 or set
fork=true in your standard deployment environment.

-- Franck
> Hi folks,
>
> I'm using Tomcat 5.0.28 with JVM 1.4.2 (running only Tomcat) under a Win
> 2000 Server, and it starts to give me the following message:
> java.lang.OutOfMemoryError.
>
> To prevent this I start Tomcat using this 2 parameters:
> -Xms 521m
> -Xmx 1024m
>
> But this isn't enought, some times when the server is a bit stressed the
> server memory, used by the JVM incrises up to 1GB and some MB more, then
> decrises to 700MB, and starts to increse again up to 1GB.
>
> The memory used increses just as the app sessions, but when the JVM used
> memory get at 1GB I have at about 400 sessions. I'm thinking that is to much
> memory for 400 sessions on this app.
>
> I'm afraind becuse the memory get up to 1GB when the server is not full
> stressed.
>
>
> There's something I can do to reduce the amount of memory used by the JVM,
> or it's normal???
>
> Thanks,
>
> Marco Aurélio Silva
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>   


-- 
====================================================================
Dipl.-Hyd. Franck Borel               Universitaetsbibliothek Freiburg
EMail: [EMAIL PROTECTED]       EDV-Dezernat
Tel. : +49-761 / 203-3908             Werthmannplatz 2 | Postfach 1629
Fax  : +49-761 / 203-3987             79098 Freiburg   | 79016 Freiburg


---------------------------------------------------------------------
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