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 "Misha Dmitriev (JIRA)" <ji...@apache.org> on 2018/06/28 22:57:00 UTC

[jira] [Created] (IMPALA-7219) 7.5% of Catalog Server heap wasted by empty HashMaps and ArrayLists

Misha Dmitriev created IMPALA-7219:
--------------------------------------

             Summary: 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
         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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org