[jira] [Updated] (APEXMALHAR-2321) Improve Buckets memory management
[ https://issues.apache.org/jira/browse/APEXMALHAR-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] bright chen updated APEXMALHAR-2321: Description: 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. was: 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 > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (APEXMALHAR-2321) Improve Buckets memory management
[ https://issues.apache.org/jira/browse/APEXMALHAR-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] bright chen updated APEXMALHAR-2321: Description: 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 was: 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. - The default maxMemorySize is zero. It's better to give a default reasonable value to avoid too much garbage collection > 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)
[jira] [Updated] (APEXMALHAR-2321) Improve Buckets memory management
[ https://issues.apache.org/jira/browse/APEXMALHAR-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] bright chen updated APEXMALHAR-2321: Description: 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. - The default maxMemorySize is zero. It's better to give a default reasonable value to avoid too much garbage collection was: 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. - AbstractManagedStateImpl.maxMemorySize probably will be misunderstand as the max memory size of total managed state, but in fact it was used as memory size of each bucket. Better to rename it. - The default maxMemorySize is zero. It's better to give a default reasonable value to avoid too much garbage collection > 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. > - 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)