Metaspace OOME happens by creating KieContainer, executing rules, disposing KieContainer repeatedly.

Solution Unverified - Updated -


When I create a KieContainer, send requests to the KieContainer and dispose the KieContainer repeatedly, OutOfMemoryError: Metaspace occurs (in the case MaxMetaspaceSize JVM Option is given to the KIE Server). Also, this issue occurs only when request data to the KieContainer is of JSON format.


  • Red Hat Decision Manager (RHDM)
    • 7.2.1 - 7.12.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content