You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/02 14:13:00 UTC
[jira] [Commented] (LOG4J2-2364) ReusableParameterizedMessage
memory leak: throwable, varargs
[ https://issues.apache.org/jira/browse/LOG4J2-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16529978#comment-16529978 ]
ASF GitHub Bot commented on LOG4J2-2364:
----------------------------------------
GitHub user cakofony opened a pull request:
https://github.com/apache/logging-log4j2/pull/186
LOG4J2-2364 Fix ReusableParameterizedMessage memory leak
Implement `Clearable` interface for reusable messages, making it
easier to clear references between usages.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cakofony/logging-log4j2 clearable_message
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/logging-log4j2/pull/186.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #186
----
commit ccbd3e8829961127b36285da809f45b7fd1a7367
Author: Carter Kozak <ck...@...>
Date: 2018-06-29T21:23:01Z
LOG4J2-2364 Fix ReusableParameterizedMessage memory leak
Implement Clearable interface for reusable messages, making it
easier to clear references between usages.
----
> ReusableParameterizedMessage memory leak: throwable, varargs
> ------------------------------------------------------------
>
> Key: LOG4J2-2364
> URL: https://issues.apache.org/jira/browse/LOG4J2-2364
> Project: Log4j 2
> Issue Type: Improvement
> Affects Versions: 2.11.0
> Reporter: Carter Kozak
> Assignee: Carter Kozak
> Priority: Major
> Fix For: 3.0.0, 2.11.1
>
>
> ReusableParameterizedMessage throwable and varargs are not reset between usages, allowing references to be held past when events are logged.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)