Description of problem: Taskomatic's max heap size is currently set to 1GB. That is insufficient to generate the repodata for large channels, say rhel-x86_64-server-5. You wind up with the repodata not getting regenerated and errors like this in /var/log/rhn/rhn_taskomatic_daemon.log: INFO | jvm 1 | 2014/03/28 08:50:00 | 2014-03-28 08:50:00,777 [Thread-55] INFO com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Generating new repository metadata for channel 'rhel-x86_64-server-5'(sha1) 15768 packages, 2856 errata INFO | jvm 1 | 2014/03/28 08:50:32 | Exception in thread "Thread-55" java.lang.OutOfMemoryError: GC overhead limit exceeded How reproducible: Don't know. Steps to Reproduce: 1. regenerate the repodata for a large channel Actual results: OutOfMemoryError Expected results: Should work Additional info: This limit is controlled by the wrapper.java.maxmemory option in /usr/share/rhn/config-defaults/rhn_taskomatic_daemon.conf. To manually work-around you can increase the setting to 2048 and 'service taskomatic restart'.
Also could manifest in error logs as: INFO | jvm 1 | 2014/03/28 08:50:32 | 2014-03-28 08:50:32,626 [Thread-56] INFO com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Generating new repository metadata for channel 'rhel-x86_64-server-6'(sha256) 12197 packages, 1984 errata INFO | jvm 1 | 2014/03/28 08:50:53 | Exception in thread "Thread-56" java.lang.OutOfMemoryError: Java heap space
Committing to Spacewalk master: 7f10eee815fac44480c0f571214ed2f008357e35
Spacewalk 2.2 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes22