alan0428a commented on issue #3106: URL: https://github.com/apache/logging-log4j2/issues/3106#issuecomment-2439421057
I think the main issue is that new implementation [go through whole](https://github.com/alan0428a/logging-log4j2/blob/2.x/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/ThrowableExtendedStackTraceRenderer.java#L109) stack created from StackLocatorUtil.getCurrentStackTrace(). So it creates a huge map. But in old implementation, it only [go through](https://github.com/alan0428a/logging-log4j2/blob/b55c4d3fa2489cf91d6569aac57b05ae2c9d4b06/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ThrowableProxyHelper.java#L91) `stackLength`. Let me check if there's an easy fix. -- 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