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

ProjectClassLoader leak in updateToVersion with executable model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.49.0.Final
    • core engine
    • None
    • 2021 Week 10-12 (from Mar 8)
    • Hide

      Running:

          mvn clean test -Dtest=KjarUpdateWithLeakTest
      

      will produce a OutOfMemoryError.

      Running instead:

          mvn clean test -Dtest=KjarUpdateWithoutLeakTest
      

      will not produce any error, because the KieModule is built without executable model.

      Show
      Running: mvn clean test -Dtest=KjarUpdateWithLeakTest will produce a OutOfMemoryError . Running instead: mvn clean test -Dtest=KjarUpdateWithoutLeakTest will not produce any error, because the KieModule is built without executable model.
    • Undefined
    • NEW
    • NEW
    • ---
    • ---

      When updating a KieContainer with a KieModule built with executable model, the DynamicProjectClassloader associated with the KieContainer will leak memory due to the store map growing indefinitely.

      This does not occur without executable model.

              mfusco@redhat.com Mario Fusco
              mcasalino Matteo Casalino (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: