Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6624

ThreadlocalPool.discard() memory leak when exception thrown from bean method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.2.0
    • EAP_EWP 5.1.0
    • EJB
    • None
    • Release Notes
    • Workaround Exists
    • Hide

      Use StrictMaxPool instead

      Show
      Use StrictMaxPool instead
    • Hide
      A memory leak was discovered in the InfinitePool's implementation of the ThreadLocalPool which could eventually lead to OutOfMemory exceptions. The InfinitePool maintained a list of active beanContexts but did not override the discard method so a small memory leak occurred every time this method was called. A discard method was implemented, preventing memory leaks occurring.
      Show
      A memory leak was discovered in the InfinitePool's implementation of the ThreadLocalPool which could eventually lead to OutOfMemory exceptions. The InfinitePool maintained a list of active beanContexts but did not override the discard method so a small memory leak occurred every time this method was called. A discard method was implemented, preventing memory leaks occurring.
    • Documented as Resolved Issue
    • NEW

      Platform JIRA for EJBTHREE-2251 - ThreadlocalPool.discard() memory leak when exception thrown from bean method

              rhn-support-bmaxwell Brad Maxwell
              rhn-support-tkimura Takayoshi Kimura
              Russell Dickenson Russell Dickenson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: