Loading rulebase several times causes Metaspace OOM error

Solution Verified - Updated -

Issue

We deploy rule content using compiled executable model to tomcat container. The rule content can be hot deployed i.e, replaced by the new rule content while the service is running.
We are finding after several deployments the metaspace memory runs out due to classes never unloads:

HeapSize MetaspaceSize MeataspaceOOM
1024 768 Yes
1024 896 Yes
1536 768 Yes
1536 896 No
1536 1024 No

Environment

  • Red Hat Decision Manager
    • 7.7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In