Very long execution time for obtaining a KieSession

Solution In Progress - Updated -

Issue

We are migrating from BRMS 5.3 to BRMS 6.4.

In BRMS 5.3, we used to execute the following code and the session was created in a few milliseconds:

    StatefulKnowledgeSession ksession = knowledgeBase.newStatefulKnowledgeSession();

Now, it takes almost 30 seconds to obtain a session using this method:

    KieSession kSession = kContainer.newKieSession();

We need to improve the performance of calling the runtime. This problem can be reproduced on every try if the knowledge base is big enough.

Environment

  • Red Hat JBoss BRMS
    • 6.4.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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.