SUSE Support

Here When You Need Us

SUSE Manager subscription-matcher crashes with java.lang.OutOfMemoryError

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


SUSE Manager 3.2
SUSE Manager 3.1
SUSE Manager 3


SUSE Manager is daily generating OutOfMemoryError exceptions in subscription-matcher.log and javacore dumps in /usr/sbin.

Extract of log in /var/log/rhn/subscription-matcher.log:

2018-05-22 11:27:54,106 ERROR Main - Unexpected exception: 
java.lang.OutOfMemoryError: Java heap space
        at org.drools.core.reteoo.JoinNode.createLeftTuple(


A maintenance update has been released to address this problem. It should be checked that the system is updated. After a restart of the services, the problem should disappear.

Additionally, as a workaround, the memory for the process can be increased by editing the following file:


And changing the memory parameter:


This should be set to something bigger. Customers reported it would still with 4G, so 6 or even 8 might be a good approach:


Restart services afterwards:

spacewalk-service restart

Another workaround would be to simply disable the nightly run of the subscription-matcher process in order not to consume resources while the problem is being fixed:

SUSE Manager web UI - Admin - Task Schedules - gatherer-matcher-default - Disable schedule - Update Schedule

It can be manually triggered any time directly from the Subscription Matching page in the web-UI.


The problem lays on the logic that computes the penalty objects for 1-2 subscriptions (there is a code that accumulates the confirmed matches of 1-2 subscriptions within a single virtualization group (that means, the systems under the same virtual host or virtual host manager). This was optimized and the problem hence fixed.


This Support Knowledgebase provides a valuable tool for 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:7023060
  • Creation Date: 07-Jun-2018
  • Modified Date:03-Mar-2020
    • SUSE Manager

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.