Github user zhuoliu commented on a diff in the pull request:
https://github.com/apache/storm/pull/790#discussion_r42284878
--- Diff: conf/defaults.yaml ---
@@ -140,7 +140,8 @@ supervisor.memory.capacity.mb: 3072.0
supervisor.cpu.capacity: 400.0
### worker.* configs are for task workers
-worker.childopts: "-Xmx768m"
+worker.heap.memory.mb: 768
+worker.childopts: "-Xmx%HEAP-MEM%m"
--- End diff --
@revans2 and I think it would be better practice if we put the HEAP-MEM in
the substitute-childopts function together with WORKER-ID, TOPOLOGY-ID,
WORKER-PORT.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---