You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/12/21 17:30:01 UTC
[jira] [Updated] (IMPALA-7219) 7.5% of Catalog Server heap wasted
by empty HashMaps and ArrayLists
[ https://issues.apache.org/jira/browse/IMPALA-7219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Armstrong updated IMPALA-7219:
----------------------------------
Priority: Minor (was: Major)
> 7.5% of Catalog Server heap wasted by empty HashMaps and ArrayLists
> -------------------------------------------------------------------
>
> Key: IMPALA-7219
> URL: https://issues.apache.org/jira/browse/IMPALA-7219
> Project: IMPALA
> Issue Type: Improvement
> Reporter: Misha Dmitriev
> Priority: Minor
> Attachments: bad-colls-screenshot.png
>
>
> I recently analyzed a ~16GB heap dump of Catalog Server with jxray ([www.jxray.com).|http://www.jxray.com)./] It turns out that 7.5% of the heap is wasted by empty HashMap and ArrayList instances.
> !bad-colls-screenshot.png|width=464,height=531!
> These objects come from just four data fields in two classes: {{IncompleteTable}} and {{StructType}}. It should be easy to get rid of the overhead of these objects by initializing them lazily.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org