[
https://issues.apache.org/jira/browse/KYLIN-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15740788#comment-15740788
]
kangkaisen commented on KYLIN-2266:
-----------------------------------
I agree with you.
But before we refactor {{AppendTrieDictionary}} and {{CachedTreeMap}}, this
patch is the most direct and simple way to reduce the memory usage
significantly.
> 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)