[ https://issues.apache.org/jira/browse/KAFKA-8559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16867205#comment-16867205 ]
ASF GitHub Bot commented on KAFKA-8559: --------------------------------------- ijuma commented on pull request #6964: KAFKA-8559: avoid kafka array list grow URL: https://github.com/apache/kafka/pull/6964 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > PartitionStates.partitionStates cause array grow allocation. > ------------------------------------------------------------- > > Key: KAFKA-8559 > URL: https://issues.apache.org/jira/browse/KAFKA-8559 > Project: Kafka > Issue Type: Improvement > Components: consumer > Reporter: Wenshuai Hou > Priority: Major > Attachments: image-2019-06-18-19-10-10-633.png > > > this method causes 238 TLABs totaling 297mb of Array.copyOf(). The side of > the array can be determined at creation. > !image-2019-06-18-19-10-10-633.png! -- This message was sent by Atlassian JIRA (v7.6.3#76005)