Skip to content

Commit 806d76e

Browse files
author
Tim Middleton (Software Engineer)
committed
Fix incorrect cache memory information
1 parent a106222 commit 806d76e

File tree

1 file changed

+1
-1
lines changed
  • coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/tablemodel/model

1 file changed

+1
-1
lines changed

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/tablemodel/model/CacheData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public SortedMap<Object, Data> getAggregatedDataFromHttpQuerying(VisualVMModel m
310310

311311
data.setColumn(UNIT_CALCULATOR, sUnitCalculator);
312312
long cMemoryUsageBytes = Long.parseLong(getFirstMemberOfArray(cacheDetails, "unitFactor"))
313-
* cacheDetails.get("units").asInt();
313+
* cacheDetails.get("units").asLong();
314314
data.setColumn(MEMORY_USAGE_BYTES, cMemoryUsageBytes);
315315
data.setColumn(MEMORY_USAGE_MB, (int) (cMemoryUsageBytes / 1024 / 1024));
316316

0 commit comments

Comments
 (0)