Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4498

OutOfMemoryError when CI is ran with tracing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.Alpha5
    • 7.0.0.Alpha4
    • Test Suite
    • None

    Description

      The CI will fail very often when tracing is enabled with some sort of OOM error.

      http://ci.infinispan.org/viewType.html?buildTypeId=Infinispan_MasterHotspotJdk7trac

      Looking closer this appears to be an issue with an accumulation of Threads. These threads aren't running either but rather are held in memory unneedingly. It appears that they are being retained in the log4j1.2 NDC class in it's hashtable. Upon further investigation we never call to NDC.remove which would clear up the current any dead threads.

      I have created JBLOGGING-106 to fix this as well. In the mean time we shouldn't use NDC.

      Attachments

        Issue Links

          Activity

            People

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: