[
https://issues.apache.org/jira/browse/STORM-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874142#comment-16874142
]
Ethan Li commented on STORM-3403:
---------------------------------
Assigned memory is the sum of the memory requirements of all the instances on
this worker. In your snapshot, you have 13 component instances. The related
config would be
https://github.com/apache/storm/blob/v1.2.2/storm-core/src/jvm/org/apache/storm/Config.java#L1690.
It's not the sum of topology.worker.childopts and
topology.worker.logwriter.childopts
> Incorrect Assigned memory displayed on Storm UI
> -----------------------------------------------
>
> Key: STORM-3403
> URL: https://issues.apache.org/jira/browse/STORM-3403
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-ui
> Affects Versions: 1.2.2
> Reporter: Nikhil
> Priority: Major
> Attachments: topologyAssignedMem.png
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Hi Team,
>
> We are working on storm upgrade from 1.0.2 to 1.2.2. During upgrade, we
> realised that assigned memory displayed on Storm UI is incorrect. Attached
> screenshot for more details.
>
> Looks like assigned memory is sum of memory provided in
> topology.worker.childopts and topology.worker.logwriter.childopts options.
>
> Multiple scenarios we have observed where assigned memory is not correct-
> # If topology.worker.childopts memory is more than 3 GB, in this case
> assigned memory is showing 65 MB.
> # If topology.worker.childopts memory+ topology.worker.logwriter.childopts
> memory is below 50 for last 2 digits.
> For eg.,
> topology.worker.childopts = 2048 MB
> topology.worker.logwriter.childopts = 64 MB
> Total = 2112 MB
> Here, last 2 digits are below 50, in this case assigned memory is showing 65
> MB.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)