Environment
Novell ZENworks Configuration Management 11.2
Situation
Caching some patches stuck in status "Calculating Patch dependencies".
ERROR (in loader-messages.log):
[DEBUG] [5/2/13 11:38:26 PM] [] [Loader.PatchSubscriptionService] [27] [] [PLS File: Red Hat 20090195-06 RHBA yum-rhn-plugin bug fix and enhancement update for RHEL 5 x86_64.pls Supersedes: {6A7309F2-881C-438C-9668-C5E5828DA0AE}] [] []
[DEBUG] [5/2/13 11:38:53 PM] [] [PatchLicense] [461] [] [Entering VerifyLicense] [] []
[DEBUG] [5/2/13 11:38:53 PM] [] [PatchLicense] [461] [] [Returning valid ] [] []
[DEBUG] [5/2/13 11:38:56 PM] [] [Loader.ComplianceEngine] [503] [] [Software compliance has been updated (0 s).] [] []
[DEBUG] [5/2/13 11:39:36 PM] [] [Loader.MandatoryBaselineManager] [461] [] [Exception during Caching:] [] []
[DEBUG] [5/2/13 11:39:36 PM] [] [Loader.MandatoryBaselineManager] [461] [] [java.lang.OutOfMemoryError: Java heap space
] [] []
ERROR (in loader-messages.log):
[DEBUG] [5/2/13 11:38:26 PM] [] [Loader.PatchSubscriptionService] [27] [] [PLS File: Red Hat 20090195-06 RHBA yum-rhn-plugin bug fix and enhancement update for RHEL 5 x86_64.pls Supersedes: {6A7309F2-881C-438C-9668-C5E5828DA0AE}] [] []
[DEBUG] [5/2/13 11:38:53 PM] [] [PatchLicense] [461] [] [Entering VerifyLicense] [] []
[DEBUG] [5/2/13 11:38:53 PM] [] [PatchLicense] [461] [] [Returning valid ] [] []
[DEBUG] [5/2/13 11:38:56 PM] [] [Loader.ComplianceEngine] [503] [] [Software compliance has been updated (0 s).] [] []
[DEBUG] [5/2/13 11:39:36 PM] [] [Loader.MandatoryBaselineManager] [461] [] [Exception during Caching:] [] []
[DEBUG] [5/2/13 11:39:36 PM] [] [Loader.MandatoryBaselineManager] [461] [] [java.lang.OutOfMemoryError: Java heap space
] [] []
Resolution
Increase the loader java heap size to allow more memory to the loader process. For more information about increasing java_heap size in loader process see
System Planning, Deployment, and Best Practices Guide
3.2 Scalability of the Primary Server
3.2.4 Tuning the JVM and Tomcat
Increasing Heap Memory Size for the ZENworks Services
https://www.novell.com/documentation/zenworks11/zen11_cm_deployment_bp/?page=/documentation/zenworks11/zen11_cm_deployment_bp/data/bi5t8rz.html
NOTE: The heap increase is for the ZENloader process.
System Planning, Deployment, and Best Practices Guide
3.2 Scalability of the Primary Server
3.2.4 Tuning the JVM and Tomcat
Increasing Heap Memory Size for the ZENworks Services
https://www.novell.com/documentation/zenworks11/zen11_cm_deployment_bp/?page=/documentation/zenworks11/zen11_cm_deployment_bp/data/bi5t8rz.html
NOTE: The heap increase is for the ZENloader process.