Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7157

exessive runtime in creation of KieBase.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • None
    • 7.73.0.Final
    • core engine
    • None
    • 2022 Week 38-40 (from Sept 19)
    • NEW
    • NEW
    • ---
    • ---

      We have created a ruleset which contains a number of when clauses. At a certain point if we add one more when clause, the creation of the reteoo graph takes jumps from 3 sec. to more than 2 minutes.

      We try to get more insight with the "ReteDumper" (see attachement) and some timing debug outputs in KnowledgeBaseImpl.

      At this point it is not clear what leads to the increase of the graph generation.

      The attached zip contains the original ruleset (himi.rete.txt) and some experiments where we tried to narrow down the runtime behavior.  In testcase ID8 we get rid of the inheritance of our rules but the graph generation time stays long. In testcase ID10 we disabled two statements in the when clause an the generation time drops dramatically.

              mfusco@redhat.com Mario Fusco
              sven.kuhnert Sven Kuhnert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: