tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Aurélio Seraphim da Silva <marco.aure...@dsfnet.com.br>
Subject Out of Memory Error
Date Mon, 26 Jun 2006 15:09:26 GMT
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


Mime
View raw message