[ https://issues.apache.org/jira/browse/APEXMALHAR-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15630594#comment-15630594 ]
ASF GitHub Bot commented on APEXMALHAR-2321: -------------------------------------------- GitHub user brightchen opened a pull request: https://github.com/apache/apex-malhar/pull/481 APEXMALHAR-2321 #resolve #comment Improve Buckets memory management You can merge this pull request into a Git repository by running: $ git pull https://github.com/brightchen/apex-malhar APEXMALHAR-2321 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/apex-malhar/pull/481.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #481 ---- commit d16ce8b5f6364a3562a9e5c94dfb7763597ca8a0 Author: brightchen <bri...@datatorrent.com> Date: 2016-11-01T21:30:55Z APEXMALHAR-2321 #resolve #comment Improve Buckets memory management ---- > Improve Buckets memory management > --------------------------------- > > Key: APEXMALHAR-2321 > URL: https://issues.apache.org/jira/browse/APEXMALHAR-2321 > Project: Apache Apex Malhar > Issue Type: Improvement > Reporter: bright chen > Assignee: bright chen > > Currently buckets were managed as an array. Each bucket have memory > limitation, and free memory will be triggered if the bucket memory usage over > the limitation. > - For ManagedTimeUnifiedStateImpl, the default bucket number is 345600, which > probably too large. But it can be changed by set > Context.OperatorContext.APPLICATION_WINDOW_COUNT > - The default maxMemorySize is zero. It's better to give a default reasonable > value to avoid too much garbage collection -- This message was sent by Atlassian JIRA (v6.3.4#6332)