You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "radai rosenblatt (Jira)" <ji...@apache.org> on 2020/04/12 19:50:00 UTC
[jira] [Assigned] (KAFKA-9855) dont waste memory allocating Struct
and values objects for Schemas with no fields
[ https://issues.apache.org/jira/browse/KAFKA-9855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
radai rosenblatt reassigned KAFKA-9855:
---------------------------------------
Assignee: (was: radai rosenblatt)
> dont waste memory allocating Struct and values objects for Schemas with no fields
> ---------------------------------------------------------------------------------
>
> Key: KAFKA-9855
> URL: https://issues.apache.org/jira/browse/KAFKA-9855
> Project: Kafka
> Issue Type: Improvement
> Components: core
> Affects Versions: 2.4.0, 2.4.1
> Reporter: radai rosenblatt
> Priority: Major
>
> at the time of this writing there are 6 schemas in kafka APIs with no fields - 3 versions each of LIST_GROUPS and API_VERSIONS.
> under some workloads this may result in the creation of a lot of Struct objects with an Object[0] for values when deserializing those requests from the wire.
> in one particular heap dump we've found a significant amount of heap space wasted on creating such objects.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)