...
Before beginning the installation, you should confirm tomcat's JVM memory allocation. You may need to add entries to the catalina.sh or startup.sh file in Linux, or the Java options tab in the tomcat monitor properties in Windows. We suggest as a minimum allocation:
-Djavax.servlet.request.encoding=UTF-8
-Dfile.encoding=UTF-8
-Xmx1024m
-Xms2024m
-XX:PermSize=256m
-XX:MaxPermSize=1024m
-XX:NewSize=64m
Please see the tomcat documentation for further instructions on setting these parameters.
...