Set the heap size for tomcat.