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.
If you see messages such as OutOfMemoryError: Java
heap space
in the Tomcat logs, increase the maximum
amount of memory that is available to the Tomcat service for
its heap by doing the following:
Edit the
/etc/sysconfig/tomcat6
(Oracle Linux 6) or/etc/sysconfig/tomcat
(Oracle Linux 7) file and increase the argument to-Xmx
in theJAVA_OPTS
setting. For example,-Xmx1024m
increases the maximum size of the heap to 1 GB.Restart the Spacewalk services.
#
/usr/sbin/spacewalk-service restart