Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1361

AsyncAppender never recovers from OutOfMemoryError in AsyncThread.run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.5
    • None
    • Appenders
    • None

    Description

      We have a test that allocates too much memory, causing {{OutOfMemoryError}}s for a short time.

      Because AsyncThread.run() doesn't handle them in any way, the thread exits, and all the logging threads block in AsyncAppender.append(), hanging the test suite.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dan.berindei Dan Berindei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: