Set the java memory options
From MyWiki
Edit the TOMCAT_HOME/bin/catalina.sh file and add the JAVA_OPTS variable as:
JAVA_OPTS="-Djava.awt.headless=true -Xmx512M -XX:MaxPermSize=128M -Dcom.sun.security.enableCRLDP=true"