Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7219

7.5% of Catalog Server heap wasted by empty HashMaps and ArrayLists

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Catalog
    • None
    • ghx-label-2

    Description

      I recently analyzed a ~16GB heap dump of Catalog Server with jxray (www.jxray.com). It turns out that 7.5% of the heap is wasted by empty HashMap and ArrayList instances.

      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.

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            misha@cloudera.com Misha Dmitriev

            Dates

              Created:
              Updated:

              Slack

                Issue deployment