You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Dan Berindei (JIRA)" <ji...@apache.org> on 2016/04/08 13:50:25 UTC

[jira] [Created] (LOG4J2-1361) AsyncAppender never recovers from OutOfMemoryError in AsyncThread.run

Dan Berindei created LOG4J2-1361:
------------------------------------

             Summary: AsyncAppender never recovers from OutOfMemoryError in AsyncThread.run
                 Key: LOG4J2-1361
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1361
             Project: Log4j 2
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 2.5
            Reporter: Dan Berindei


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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org