Tonys-L commented on issue #3282:
URL: 
https://github.com/apache/logging-log4j2/issues/3282#issuecomment-2523675838

   @ppkarwasz This is a rather hidden problem. We didn't realize that we should 
pay attention to this point when using Log4j to output exception information 
until we located the cause of the problem. Of course, it's a low-probability 
event and only occurs when used in combination with certain special libraries. 
However, once it occurs, it's still quite difficult to troubleshoot this 
problem. It took two months from the startup of our system to the occurrence of 
Out Of Memory (OOM). The loadClass method is called internally within Log4j. I 
wonder if there should be some mechanism that can monitor and alert users when 
too many different classes have been loaded, making this problem easier to 
expose.


-- 
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: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to