[
https://issues.apache.org/jira/browse/STORM-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15065653#comment-15065653
]
ASF GitHub Bot commented on STORM-1403:
---------------------------------------
Github user unsleepy22 commented on a diff in the pull request:
https://github.com/apache/storm/pull/959#discussion_r48100689
--- Diff: storm-core/src/jvm/backtype/storm/scheduler/Cluster.java ---
@@ -480,6 +480,27 @@ private String getStringFromStringList(Object o) {
* */
private Double getAssignedMemoryForSlot(Map topConf) {
Double totalWorkerMemory = 0.0;
+ final Integer TOPOLOGY_WORKER_DEFAULT_MEMORY_ALLOCATION = 768;
--- End diff --
is it necessary since default worker memory is set in defaults.yaml
> Consider gc childopts in JVM calculation for resource display
> -------------------------------------------------------------
>
> Key: STORM-1403
> URL: https://issues.apache.org/jira/browse/STORM-1403
> Project: Apache Storm
> Issue Type: Improvement
> Components: storm-core
> Affects Versions: 0.11.0
> Reporter: Zhuo Liu
> Assignee: Zhuo Liu
> Priority: Minor
> Fix For: 0.11.0
>
>
> Need to consider worker.gc.childopts and topology.worker.gc.childopts when
> calculating per-worker memory usage for UI display
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)