Mehr Speicher für Tomcat

Kurz notiert:
Tomcat erzeugt gerne mal OutOfMemoryExceptions, auch in Kombination mit PermSize. Dann muss man in der catalina.sh folgende Zeile mit JAVA_OPTS einbauen:

# -----------------------------------------------------------------------------

JAVA_OPTS="$JAVA_OPTS -Xms256M -Xmx1024M -XX:MaxPermSize=256m -XX:PermSize=128m"

# OS specific support.  $var _must_ be set to either true or false.
Tags:, , , ,

Leave a Reply »»

Note: All comments are manually approved to avoid spam. So if your comment doesn't appear immediately, that's ok. Have patience, it can take some days until I have the time to approve my comments.