Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Bug
-
2.12.1
-
None
-
None
Description
org.apache.logging.log4j.message.SimpleMessage class contains 2 fields:
private String message; private transient CharSequence charSequence;
These 2 fields contains the message that should be logged.
So as the result the message is duplicated and it can cause significant payload on memory in case of logging large messages.
Could you please fix it or explain why the message is duplicated?
Thanks,
Dzmitry
Attachments
Issue Links
- is related to
-
LOG4J2-2725 RingBufferLogEvent.clear() is not called in case of OutOfMemoryError (or any other exception/error)
- Closed