Affects Version/s: 1.2.2
Fix Version/s: None
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.
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.