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

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • EAP_EWP 5.1.0
    • EAP_EWP 5.2.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

    Description

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

      Attachments

        Issue Links

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved: