The software described in this documentation is either no longer supported or is in extended support.
Oracle recommends that you upgrade to a current supported release.

1.7.5 tomcat6 Runs Out of Memory

If you see messages such as OutOfMemoryError: Java heap space in the logs, increase the maximum amount of memory that is available to tomcat6 for its heap:

  1. Edit /etc/sysconfig/tomcat6 and increase the argument to -Xmx in the JAVA_OPTS setting. For example, -Xmx1024m increases the maximum size of the heap to 1 GB.

  2. Restart the Spacewalk services:

    # spacewalk-service restart