Very long execution time for obtaining a KieSession in BRMS 6.4

Solution Unverified - 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 (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