Dmitriy Pavlov created IGNITE-5583: -------------------------------------- Summary: Switch non-heap memory metrics to new page memory semantics Key: IGNITE-5583 URL: https://issues.apache.org/jira/browse/IGNITE-5583 Project: Ignite Issue Type: Improvement Reporter: Dmitriy Pavlov Assignee: Dmitriy Pavlov Priority: Minor
On jdk 1.8.0_131 there is negative amount of maximum non heap memory returned by following code: ManagementFactory.getMemoryMXBean().getNonHeapMemoryUsage().getMax()); returns -1. And this value is used in ignite metrics in GridLocalMetrics.getNonHeapMemoryMaximum() which becomes negative. It is required to switch non-heap memory metrics to new page memory semantics, this should show a clean picture in the node output and will also protect us from ambiguous -1 output. -- This message was sent by Atlassian JIRA (v6.4.14#64029)