tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Frey <rainer.f...@inxmail.de>
Subject Re: Tomcat7 OutOFMemoryError
Date Mon, 05 Mar 2012 12:19:48 GMT
On 05.03.2012, at 11:30, Philippe ROUXEL wrote:

> When I set JAVA_OPTS= -Xmx1024m -Xss75m

That means: each thread get a stack of 75MB. One of the following applies:
* the operating system has a limit on thread stack size
* the per process memory limit is reached before all initial tomcat threads are started
* the system runs out of total memory before all initial tomcat threads are started

75MB thread stack size seems quite insane, the default is around 1-2MB. Perhaps you meant
to set -Xms (which sets the initial Java heap size)?

Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message