tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe ROUXEL" <PRou...@pactenovation.fr>
Subject RE : Tomcat7 OutOFMemoryError
Date Mon, 05 Mar 2012 13:14:17 GMT
75MB of stack is needed by hibenate to save the data aka a graph.
 
Philippe

________________________________

De: Rainer Frey [mailto:rainer.frey@inxmail.de]
Date: lun. 05/03/2012 13:19
À: Tomcat Users List
Objet : Re: Tomcat7 OutOFMemoryError



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