Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1865

OutOfMemoryError caused by RuleTerminalNodeLeftTuple

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Major
    • Resolution: Done
    • 7.12.0.GA
    • 7.12.1.GA
    • BRE
    • CR1
    • 1
    • Release Notes
    • 2022 Week 02-04 (from Jan 10)
    • +

    Description

      delete/insert child fact causes a loop in PhreakJoinNode.doRightInserts() and ends up with OOME.

      rule R1
          no-loop
      when
          $p : Person(name == "Mario") @watch(age)
          $as : Asset()
          $ac : AssetCard(parent == $as, groupCode != "A") 
      then
          System.out.println("Rule " + drools.getRule().getName() + "; " + $ac);
          modify($p){setAge(10)}
      end
      
      rule R2
          no-loop
      when
          $p : Person(name == "Mario") @watch(age)
          $as : Asset()
          $ac : AssetCard(parent == $as, groupCode == "A") 
      then
          System.out.println("Rule " + drools.getRule().getName() + "; " + $ac);
          modify($p){setAge(10)}
      end
      
              ksession.delete(assetCardFh);
              ksession.update(assetFh, asset, "assetCard");
      
              ksession.insert(assetCard2);
              ksession.update(assetFh, asset, "assetCard");
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-mputz Martin Weiler
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: