Re: [PR] Bump com.gradle:develocity-maven-extension from 1.21.3 to 1.21.4 (logging-log4j2)

2024-06-07 Thread via GitHub
github-actions[bot] merged PR #2642: URL: https://github.com/apache/logging-log4j2/pull/2642 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notificatio

Re: [I] OutOfMemoryException because WatchManager isn't garbage collected (logging-log4j2)

2024-06-07 Thread via GitHub
Yavor16 commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2154868957 After the advice I tried to create only one LoggerContext and to close every FileAppender after the file has been persisted and the OOM is gone. Unfortunately, know I face a

Re: [I] OutOfMemoryException because WatchManager isn't garbage collected (logging-log4j2)

2024-06-07 Thread via GitHub
ppkarwasz commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2154817253 This is related to #2255: if hundreds of logger contexts are created, but they are not stopped, the application can easily run out of memory. -- This is an automated mess

Re: [I] OutOfMemoryException because WatchManager isn't garbage collected (logging-log4j2)

2024-06-07 Thread via GitHub
vy commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2154294700 @Yavor16, if you need to change the file name, you can just reconfigure the context: ``` import org.apache.logging.log4j.core.config.Configurator; URI configSource