shaonan666 commented on issue #3569: URL: https://github.com/apache/logging-log4j2/issues/3569#issuecomment-2753923968
Hi @ppkarwasz >StringBuilder instances in the RingBufferLogEvent due to GC-free logging Does this refer to the fact that I only configured `log4j2.enableThreadlocals=true` (due to `isWebApp=false`)? >Given the huge RingBuffer you are using (our [default in GC-free mode](https://logging.apache.org/log4j/2.x/manual/async.html#log4j2.asyncLoggerRingBufferSize) is merely 4096) you should expect an increase of 176 MiB in retained memory size once all the RingBufferLogEvents have been used at least once. However, with the same configuration and code in version 2.23.1, why didn’t I observe this memory increase? What specific code changes from 2.23.1 to 2.24.3 might have caused this memory behavior change? Thank you for your patient explanations. -- 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