[ https://issues.apache.org/jira/browse/IGNITE-6062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stanilovsky Evgeny reassigned IGNITE-6062: ------------------------------------------ Assignee: Stanilovsky Evgeny > IllegalArgumentException thrown while getHeapMemoryUsage() > ---------------------------------------------------------- > > Key: IGNITE-6062 > URL: https://issues.apache.org/jira/browse/IGNITE-6062 > Project: Ignite > Issue Type: Bug > Components: general > Affects Versions: 1.8 > Reporter: Alexander Belyak > Assignee: Stanilovsky Evgeny > Fix For: 1.8 > > > In org.apache.ignite.internal.managers.discovery.GridDiscoveryManager > we can't just use getHeapMemoryUsage(): > private static final MemoryMXBean mem = ManagementFactory.getMemoryMXBean(); > mem.getHeapMemoryUsage().getCommitted(); > because of > https://bugs.openjdk.java.net/browse/JDK-6870537 > It should be somehow wrapped to catch IllegalArgumentException. > Also we need to test all codebase and use wrapped version of > getHeapMemoryUsage() method. > In version 2.1 its already fixed. -- This message was sent by Atlassian JIRA (v6.4.14#64029)