[ https://issues.apache.org/jira/browse/STORM-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ZhihaoZheng updated STORM-3729: ------------------------------- Summary: Assigning memory greater and equal than 2048m will make assgin memory for slot values to 1m (was: assign memory greater and equal than 2048m will make assgin memory for slot values to 1m) > Assigning memory greater and equal than 2048m will make assgin memory for > slot values to 1m > ------------------------------------------------------------------------------------------- > > Key: STORM-3729 > URL: https://issues.apache.org/jira/browse/STORM-3729 > Project: Apache Storm > Issue Type: Bug > Components: storm-client > Affects Versions: 2.1.0, 2.2.0 > Reporter: ZhihaoZheng > Priority: Minor > > Hi, everyone. > I set my topology over 2048m, the storm ui shows only 65m, so i found its > error in > [https://github.com/apache/storm/blob/master/storm-client/src/jvm/org/apache/storm/utils/Utils.java] > line 1089 that value cast to int instead of long, It goes wrong if I pass > 2048m and results 1m. > Simply change this line to cast Long can solve this problem.:) -- This message was sent by Atlassian Jira (v8.3.4#803005)