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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Blocker Blocker
    • 7.4.1.Final
    • 7.4.1.Final
    • None
    • None
    • 2018 Week 33-35
    • 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.
    • High
    • NEW
    • NEW

      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.

        1. heap.PNG
          13 kB
          Srinivas ev

              mfusco@redhat.com Mario Fusco
              ev.srinivas@gmail.com Srinivas ev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: