Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3347

Memory leak from event listener in ProcessRuntimeImpl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jBPM 5.2
    • jBPM 5.1
    • Runtime Engine
    • None
    • Low

      It appears the event listener created in the initProcessEventListeners method of ProcessRuntimeImpl is creating a memory leak due to the event listener never being removed. The listener is registered with the the RuleBase, but the dispose method never removes it. Our processes create either a stateful or stateless session on each request and this causes memory to be fully consumed very quickly. Removing the registration of this event listener fixes our issue.

            kverlaen@redhat.com Kris Verlaenen
            rheusink Ryan Heusinkveld (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: