[ https://issues.apache.org/jira/browse/KYLIN-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15739860#comment-15739860 ]
Dayue Gao commented on KYLIN-2266: ---------------------------------- A better way would be refine AppendTrieDictionary to get rid of CachedTreeMap in build path. This could reduce code complexity substantially. > Reduce memory usage for building global dict > -------------------------------------------- > > Key: KYLIN-2266 > URL: https://issues.apache.org/jira/browse/KYLIN-2266 > Project: Kylin > Issue Type: Improvement > Affects Versions: v1.6.0 > Reporter: kangkaisen > Assignee: kangkaisen > Attachments: KYLIN-2266.patch > > > Because the input for building global dict is sequential,so we could set max > cache size to 1 to reduce the memory usage. > Although we also could set `kylin.dict.append.cache.size` to 1 to reduce the > memory usage, most of users don't know this config. -- This message was sent by Atlassian JIRA (v6.3.4#6332)