Alexander Belyak created IGNITE-6062:
----------------------------------------
Summary: 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
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-6870537It 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)