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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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

      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.

              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

                Created:
                Updated:
                Resolved: