[ 
https://issues.apache.org/jira/browse/KAFKA-6371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292268#comment-16292268
 ] 

huxihx commented on KAFKA-6371:
-------------------------------

Seems it's already fixed in 
[KAFKA-5121|https://issues.apache.org/jira/browse/KAFKA-5121]?  See commit: 
https://github.com/apache/kafka/commit/e71dce89c0da50f3eccc47d0fc050c92d5a99b88

Do you want to backport to 0.10.* codebase?

> FetchMetadata creates unneeded Strings on instantiation
> -------------------------------------------------------
>
>                 Key: KAFKA-6371
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6371
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.10.0.1, 0.10.1.1, 0.10.2.1
>            Reporter: Maytee Chinavanichkit
>            Assignee: Maytee Chinavanichkit
>            Priority: Minor
>             Fix For: 0.10.0.2, 0.10.1.2, 0.10.2.2
>
>
> My colleague and I were taking a heap dump to investigate the memory usage of 
> a broker. From the dump, we saw a number of object strings with the message 
> {{onlyCommitted: <redacted>}} and {{partitionStatus: <redacted>]}}. Upon 
> investigation, these objects were being instantiated when the 
> {{FetchMetadata}} object is constructed. The toString method here is 
> malformed and the last two lines are executed as a block instead of being 
> concatenated. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to