tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe ROUXEL" <>
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.


De: Rainer Frey []
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)?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message