tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franck Borel <bo...@ub.uni-freiburg.de>
Subject Re: Out of Memory Error
Date Tue, 27 Jun 2006 07:37:48 GMT
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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>   


-- 
====================================================================
Dipl.-Hyd. Franck Borel               Universitaetsbibliothek Freiburg
EMail: borel@ub.uni-freiburg.de       EDV-Dezernat
Tel. : +49-761 / 203-3908             Werthmannplatz 2 | Postfach 1629
Fax  : +49-761 / 203-3987             79098 Freiburg   | 79016 Freiburg



Mime
View raw message