impala-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Armstrong (JIRA)" <>
Subject [jira] [Created] (IMPALA-5522) Use tracked memory for DictDecoder and DictEncoder
Date Fri, 16 Jun 2017 00:08:00 GMT
Tim Armstrong created IMPALA-5522:

             Summary: Use tracked memory for DictDecoder and DictEncoder
                 Key: IMPALA-5522
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 2.9.0
            Reporter: Tim Armstrong
            Priority: Minor

Currently the dictionary decoder and encoder use std::vectors to store the tables mapping
codeword to value and vice-versa. This memory is not accounted for by Impala's memory management

These dictionaries can be large enough that it is important to track the memory. E.g. a 40,000
entry dictionary with 8 byte entries uses 320kb of memory.

We should either allocate the memory from MemPools, or track the memory directly with a MemTracker.

This message was sent by Atlassian JIRA

View raw message