[ https://issues.apache.org/jira/browse/KAFKA-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385387#comment-14385387 ]
Jay Kreps commented on KAFKA-2045: ---------------------------------- Okay so since most the discussion here is on optimizing memory allocation let's use this ticket for that. I filed KAFKA-2063 to cover bounding the fetch response size. I think that is a prerequisite for this ticket and also a bigger problem (those big allocations actually often cause OOM). > Memory Management on the consumer > --------------------------------- > > Key: KAFKA-2045 > URL: https://issues.apache.org/jira/browse/KAFKA-2045 > Project: Kafka > Issue Type: Sub-task > Reporter: Guozhang Wang > > We need to add the memory management on the new consumer like we did in the > new producer. This would probably include: > 1. byte buffer re-usage for fetch response partition data. > 2. byte buffer re-usage for on-the-fly de-compression. -- This message was sent by Atlassian JIRA (v6.3.4#6332)