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

Memory leak with a simple OptaPlanner constraint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • core engine
    • None
    • 2022 Week 23-25 (from Jun 6)
    • NEW
    • NEW
    • ---
    • ---

      Please find an attached reproducer. Run `mvn clean install` and then the JAR is in `target`. You should see it run out of memory relatively quickly.

      I have gone over the code and double checked that:

      • There is only one KieSession.
      • fireAllRules() is being called on the session, and therefore propagation queue is being emptied.

            mfusco@redhat.com Mario Fusco
            lpetrovi@redhat.com Lukáš Petrovický (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: