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

Drools @Expires is not working with x seconds 7.4.1 Final Drools version

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Explained
    • Affects Version/s: 7.4.1.Final
    • Fix Version/s: 7.4.1.Final
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2018 Week 33-35
    • Steps to Reproduce:
      Hide

      1. Run the TestFiring main method.
      2. Take heap dump within 60s.
      3. Take heap dump after 5 minutes.
      4. Still references are seen in heap dump.

      Show
      1. Run the TestFiring main method. 2. Take heap dump within 60s. 3. Take heap dump after 5 minutes. 4. Still references are seen in heap dump.
    • Estimated Difficulty:
      High
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Attached reproducer. Please check once,

      I inserted 5 Fact POJO's. It should have deleted after 200s based on declaration in the rule file.

      declare Fact
      @role( event )
      @expires(200s)
      end

      Heap dump shows the 5 entries even after I took the heap dump after 10 minutes. Please let me know regarding this.

        Gliffy Diagrams

          Attachments

          1. heap.PNG
            13 kB
            Srinivas ev

            Activity

              People

              • Assignee:
                mfusco Mario Fusco
                Reporter:
                ev.srinivas Srinivas ev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: