Novell Home

My Favorites

Close

Please to see your favorites.

Taskomatic reports out of JAVA heap space

This document (7012598) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager 1.7

Situation

When syncing channel data using mgr-ncc-sync or mgr-ncc-sync -r the following error may be observed in /var/log/rhn/rhn_taskomatic_daemon.log:

INFO   | jvm 1    | 2013/06/13 11:36:55 | Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: Java heap space
INFO   | jvm 1    | 2013/06/13 11:36:55 |       at java.lang.Object.clone(Native Method)
INFO   | jvm 1    | 2013/06/13 11:36:55 |       at java.lang.Class.getConstructor(Class.java:377)
INFO   | jvm 1    | 2013/06/13 11:36:55 |       at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:697)
INFO   | jvm 1    | 2013/06/13 11:36:55 |       at org.quartz.impl.jdbcjobstore.JobStoreSupport.getAttributeRestoringConnection(JobStoreSupport.java:678)
INFO   | jvm 1    | 2013/06/13 11:36:55 |       at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:707)
INFO   | jvm 1    | 2013/06/13 11:36:55 |       at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:69)
INFO   | jvm 1    | 2013/06/13 11:36:55 |       at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3760)
INFO   | jvm 1    | 2013/06/13 11:36:55 |       at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2728)
INFO   | jvm 1    | 2013/06/13 11:36:55 |       at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:264)


Resolution

Please edit /etc/rhn/rhn.conf and add the option
taskomatic.maxmemory = <value>
manually to the end of the file. When done, restart taskomatic using
rctaskomatic restart
to have it pick up the new XmX value.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7012598
  • Creation Date:13-JUN-13
  • Modified Date:12-DEC-13
    • SUSESUSE Manager

Did this document solve your problem? Provide Feedback