Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4598

[GSS] (6.4.z) ksession leak with Timer+Loop+PerProcessInstance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.4.2
    • 6.4.0
    • jBPM Core
    • CR2
    • Hide
      • Unzip attached 01772218_ksession_leak_timer_loop02.zip
      • mvn test
      • It will print "hello" repeatedly
      • After you confirm several "hello", capture a heap dump
      • Look into the heap dump with an analyzer tool (e.g. MemoryAnalyzer) and see several ksession are retained in the heap
      • It will finally lead to OOME
      Show
      Unzip attached 01772218_ksession_leak_timer_loop02.zip mvn test It will print "hello" repeatedly After you confirm several "hello", capture a heap dump Look into the heap dump with an analyzer tool (e.g. MemoryAnalyzer) and see several ksession are retained in the heap It will finally lead to OOME

    Description

      If you have a process with Timer in a loop and run it with PerProcessInstance, ksession instances are held in heap so it results in memory leak.

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              rhn-support-ghu Gary Hu
              Tomáš Livora Tomáš Livora (Inactive)
              Tomáš Livora Tomáš Livora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: