kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maytee Chinavanichkit (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-6371) FetchMetadata creates unneeded Strings on instantiation
Date Fri, 15 Dec 2017 09:31:00 GMT
Maytee Chinavanichkit created KAFKA-6371:

             Summary: 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:,,
            Reporter: Maytee Chinavanichkit
            Assignee: Maytee Chinavanichkit
            Priority: Minor
             Fix For:,,

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

View raw message