ignite-5107 - Removed obsolete metrics API
diff --git a/modules/core/src/main/java/org/apache/ignite/cluster/ClusterMetrics.java b/modules/core/src/main/java/org/apache/ignite/cluster/ClusterMetrics.java
index 7dd4707..d4ff7b4 100644
--- a/modules/core/src/main/java/org/apache/ignite/cluster/ClusterMetrics.java
+++ b/modules/core/src/main/java/org/apache/ignite/cluster/ClusterMetrics.java
@@ -518,20 +518,6 @@
     public long getNonHeapMemoryUsed();
 
     /**
-     * Returns the amount of non-heap memory in bytes that is committed for
-     * the JVM to use. This amount of memory is
-     * guaranteed for the JVM to use.
-     * The non-heap memory consists of one or more memory pools. This value is
-     * the sum of {@code committed} non-heap memory values of all non-heap memory pools.
-     * <p>
-     * <b>Note:</b> this is <b>not</b> an aggregated metric and it's calculated
-     * from the time of the node's startup.
-     *
-     * @return The amount of committed memory in bytes.
-     */
-    public long getNonHeapMemoryCommitted();
-
-    /**
      * Returns the maximum amount of non-heap memory in bytes that can be
      * used for memory management. This method returns {@code -1}
      * if the maximum memory size is undefined.
@@ -553,27 +539,6 @@
     public long getNonHeapMemoryMaximum();
 
     /**
-     * Returns the total amount of non-heap memory in bytes that can be
-     * used for memory management. This method returns {@code -1}
-     * if the total memory size is undefined.
-     * <p>
-     * This amount of memory is not guaranteed to be available
-     * for memory management if it is greater than the amount of
-     * committed memory.  The JVM may fail to allocate
-     * memory even if the amount of used memory does not exceed this
-     * maximum size.
-     * <p>
-     * This value represents a setting of the non-heap memory for Java VM and is
-     * not a sum of all initial non-heap values for all memory pools.
-     * <p>
-     * <b>Note:</b> this is <b>not</b> an aggregated metric and it's calculated
-     * from the time of the node's startup.
-     *
-     * @return The total amount of memory in bytes; {@code -1} if undefined.
-     */
-    public long getNonHeapMemoryTotal();
-
-    /**
      * Returns the uptime of the JVM in milliseconds.
      *
      * @return Uptime of the JVM in milliseconds.
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/ClusterLocalNodeMetricsMXBeanImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/ClusterLocalNodeMetricsMXBeanImpl.java
index ef81c6a..cec1eec 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/ClusterLocalNodeMetricsMXBeanImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/ClusterLocalNodeMetricsMXBeanImpl.java
@@ -188,11 +188,6 @@
     }
 
     /** {@inheritDoc} */
-    @Override public long getNonHeapMemoryCommitted() {
-        return node.metrics().getNonHeapMemoryCommitted();
-    }
-
-    /** {@inheritDoc} */
     @Override public long getNonHeapMemoryInitialized() {
         return node.metrics().getNonHeapMemoryInitialized();
     }
@@ -203,11 +198,6 @@
     }
 
     /** {@inheritDoc} */
-    @Override public long getNonHeapMemoryTotal() {
-        return node.metrics().getNonHeapMemoryTotal();
-    }
-
-    /** {@inheritDoc} */
     @Override public long getNonHeapMemoryUsed() {
         return node.metrics().getNonHeapMemoryUsed();
     }
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/ClusterMetricsSnapshot.java b/modules/core/src/main/java/org/apache/ignite/internal/ClusterMetricsSnapshot.java
index 8a0bc5e..204682d 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/ClusterMetricsSnapshot.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/ClusterMetricsSnapshot.java
@@ -75,9 +75,7 @@
         8/*heap memory total*/ +
         8/*non-heap memory init*/ +
         8/*non-heap memory used*/ +
-        8/*non-heap memory committed*/ +
         8/*non-heap memory max*/ +
-        8/*non-heap memory total*/ +
         8/*uptime*/ +
         8/*start time*/ +
         8/*node start time*/ +
@@ -202,15 +200,9 @@
     private long nonHeapUsed = -1;
 
     /** */
-    private long nonHeapCommitted = -1;
-
-    /** */
     private long nonHeapMax = -1;
 
     /** */
-    private long nonHeapTotal = -1;
-
-    /** */
     private long upTime = -1;
 
     /** */
@@ -306,9 +298,7 @@
         heapMax = 0;
         nonHeapInit = 0;
         nonHeapUsed = 0;
-        nonHeapCommitted = 0;
         nonHeapMax = 0;
-        nonHeapTotal = 0;
         upTime = 0;
         startTime = 0;
         nodeStartTime = 0;
@@ -378,14 +368,10 @@
 
             heapInit += m.getHeapMemoryInitialized();
 
-            nonHeapCommitted += m.getNonHeapMemoryCommitted();
-
             nonHeapUsed += m.getNonHeapMemoryUsed();
 
             nonHeapMax = max(nonHeapMax, m.getNonHeapMemoryMaximum());
 
-            nonHeapTotal += m.getNonHeapMemoryTotal();
-
             nonHeapInit += m.getNonHeapMemoryInitialized();
 
             upTime = max(upTime, m.getUpTime());
@@ -439,15 +425,6 @@
         this.heapTotal = heapTotal;
     }
 
-    /**
-     * Sets non-heap total heap size.
-     *
-     * @param nonHeapTotal Total heap.
-     */
-    public void setNonHeapMemoryTotal(long nonHeapTotal) {
-        this.nonHeapTotal = nonHeapTotal;
-    }
-
     /** {@inheritDoc} */
     @Override public long getLastUpdateTime() {
         return lastUpdateTime;
@@ -856,21 +833,11 @@
     }
 
     /** {@inheritDoc} */
-    @Override public long getNonHeapMemoryCommitted() {
-        return nonHeapCommitted;
-    }
-
-    /** {@inheritDoc} */
     @Override public long getNonHeapMemoryMaximum() {
         return nonHeapMax;
     }
 
     /** {@inheritDoc} */
-    @Override public long getNonHeapMemoryTotal() {
-        return nonHeapTotal;
-    }
-
-    /** {@inheritDoc} */
     @Override public long getUpTime() {
         return upTime;
     }
@@ -1031,15 +998,6 @@
     }
 
     /**
-     * Sets committed non-heap memory.
-     *
-     * @param nonHeapCommitted Committed non-heap memory.
-     */
-    public void setNonHeapMemoryCommitted(long nonHeapCommitted) {
-        this.nonHeapCommitted = nonHeapCommitted;
-    }
-
-    /**
      * Sets maximum possible non-heap memory.
      *
      * @param nonHeapMax Maximum possible non-heap memory.
@@ -1308,9 +1266,7 @@
         buf.putLong(metrics.getHeapMemoryTotal());
         buf.putLong(metrics.getNonHeapMemoryInitialized());
         buf.putLong(metrics.getNonHeapMemoryUsed());
-        buf.putLong(metrics.getNonHeapMemoryCommitted());
         buf.putLong(metrics.getNonHeapMemoryMaximum());
-        buf.putLong(metrics.getNonHeapMemoryTotal());
         buf.putLong(metrics.getStartTime());
         buf.putLong(metrics.getNodeStartTime());
         buf.putLong(metrics.getUpTime());
@@ -1381,9 +1337,7 @@
         metrics.setHeapMemoryTotal(buf.getLong());
         metrics.setNonHeapMemoryInitialized(buf.getLong());
         metrics.setNonHeapMemoryUsed(buf.getLong());
-        metrics.setNonHeapMemoryCommitted(buf.getLong());
         metrics.setNonHeapMemoryMaximum(buf.getLong());
-        metrics.setNonHeapMemoryTotal(buf.getLong());
         metrics.setStartTime(buf.getLong());
         metrics.setNodeStartTime(buf.getLong());
         metrics.setUpTime(buf.getLong());
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
index 8ba6a88..9cbb51f 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
@@ -1150,7 +1150,6 @@
                             long nonHeapMax = m.getNonHeapMemoryMaximum();
 
                             long nonHeapUsedInMBytes = nonHeapUsed / 1024 / 1024;
-                            long nonHeapCommInMBytes = m.getNonHeapMemoryCommitted() / 1024 / 1024;
 
                             double freeNonHeapPct = nonHeapMax > 0 ? ((double)((nonHeapMax - nonHeapUsed) * 100)) / nonHeapMax : -1;
 
@@ -1220,7 +1219,7 @@
                                 "    ^-- Heap [used=" + dblFmt.format(heapUsedInMBytes) + "MB, free=" +
                                 dblFmt.format(freeHeapPct) + "%, comm=" + dblFmt.format(heapCommInMBytes) + "MB]" + NL +
                                 "    ^-- Non heap [used=" + dblFmt.format(nonHeapUsedInMBytes) + "MB, free=" +
-                                dblFmt.format(freeNonHeapPct) + "%, comm=" + dblFmt.format(nonHeapCommInMBytes) + "MB]" + NL +
+                                dblFmt.format(freeNonHeapPct) + "%]" + NL +
                                 "    ^-- Public thread pool [active=" + pubPoolActiveThreads + ", idle=" +
                                 pubPoolIdleThreads + ", qSize=" + pubPoolQSize + "]" + NL +
                                 "    ^-- System thread pool [active=" + sysPoolActiveThreads + ", idle=" +
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/client/GridClientNodeMetrics.java b/modules/core/src/main/java/org/apache/ignite/internal/client/GridClientNodeMetrics.java
index dc9fd92..707b179 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/client/GridClientNodeMetrics.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/client/GridClientNodeMetrics.java
@@ -369,20 +369,6 @@
     public long getNonHeapMemoryUsed();
 
     /**
-     * Returns the amount of non-heap memory in bytes that is committed for
-     * the Java virtual machine to use. This amount of memory is
-     * guaranteed for the Java virtual machine to use.
-     * The non-heap memory consists of one or more memory pools. This value is
-     * the sum of {@code committed} non-heap memory values of all non-heap memory pools.
-     * <p>
-     * <b>Note:</b> this is <b>not</b> an aggregated metric and it's calculated
-     * from the time of the node's startup.
-     *
-     * @return The amount of committed memory in bytes.
-     */
-    public long getNonHeapMemoryCommitted();
-
-    /**
      * Returns the maximum amount of non-heap memory in bytes that can be
      * used for memory management. This method returns {@code -1}
      * if the maximum memory size is undefined.
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/client/impl/GridClientNodeMetricsAdapter.java b/modules/core/src/main/java/org/apache/ignite/internal/client/impl/GridClientNodeMetricsAdapter.java
index af010aa..8ca04e7 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/client/impl/GridClientNodeMetricsAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/client/impl/GridClientNodeMetricsAdapter.java
@@ -132,9 +132,6 @@
     private long nonHeapUsed = -1;
 
     /** */
-    private long nonHeapCommitted = -1;
-
-    /** */
     private long nonHeapMax = -1;
 
     /** */
@@ -598,11 +595,6 @@
     }
 
     /** {@inheritDoc} */
-    @Override public long getNonHeapMemoryCommitted() {
-        return nonHeapCommitted;
-    }
-
-    /** {@inheritDoc} */
     @Override public long getNonHeapMemoryMaximum() {
         return nonHeapMax;
     }
@@ -753,15 +745,6 @@
     }
 
     /**
-     * Sets committed non-heap memory.
-     *
-     * @param nonHeapCommitted Committed non-heap memory.
-     */
-    public void setNonHeapMemoryCommitted(long nonHeapCommitted) {
-        this.nonHeapCommitted = nonHeapCommitted;
-    }
-
-    /**
      * Sets maximum possible non-heap memory.
      *
      * @param nonHeapMax Maximum possible non-heap memory.
@@ -966,7 +949,6 @@
             append(", heapMax=").append(heapMax).
             append(", nonHeapInit=").append(nonHeapInit).
             append(", nonHeapUsed=").append(nonHeapUsed).
-            append(", nonHeapCommitted=").append(nonHeapCommitted).
             append(", nonHeapMax=").append(nonHeapMax).
             append(", upTime=").append(upTime).
             append(", startTime=").append(startTime).
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/client/impl/connection/GridClientNioTcpConnection.java b/modules/core/src/main/java/org/apache/ignite/internal/client/impl/connection/GridClientNioTcpConnection.java
index 75fa315..fc8d80c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/client/impl/connection/GridClientNioTcpConnection.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/client/impl/connection/GridClientNioTcpConnection.java
@@ -1009,7 +1009,6 @@
             metrics.setMaximumThreadCount(metricsBean.getMaximumThreadCount());
             metrics.setMaximumWaitingJobs(metricsBean.getMaximumWaitingJobs());
             metrics.setNodeStartTime(metricsBean.getNodeStartTime());
-            metrics.setNonHeapMemoryCommitted(metricsBean.getNonHeapMemoryCommitted());
             metrics.setNonHeapMemoryInitialized(metricsBean.getNonHeapMemoryInitialized());
             metrics.setNonHeapMemoryMaximum(metricsBean.getNonHeapMemoryMaximum());
             metrics.setNonHeapMemoryUsed(metricsBean.getNonHeapMemoryUsed());
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManager.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManager.java
index e5f2278..6bd7657 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManager.java
@@ -819,10 +819,6 @@
                 return nonHeapMemoryUsage().getUsed();
             }
 
-            @Override public long getNonHeapMemoryCommitted() {
-                return nonHeapMemoryUsage().getCommitted();
-            }
-
             @Override public long getNonHeapMemoryMaximum() {
                 return nonHeapMemoryUsage().getMax();
             }
@@ -909,9 +905,7 @@
                 nm.setHeapMemoryTotal(metrics.getHeapMemoryMaximum());
                 nm.setNonHeapMemoryInitialized(metrics.getNonHeapMemoryInitialized());
                 nonHeapMemoryUsed(nm);
-                nm.setNonHeapMemoryCommitted(metrics.getNonHeapMemoryCommitted());
                 nm.setNonHeapMemoryMaximum(metrics.getNonHeapMemoryMaximum());
-                nm.setNonHeapMemoryTotal(metrics.getNonHeapMemoryMaximum());
                 nm.setUpTime(metrics.getUptime());
                 nm.setStartTime(metrics.getStartTime());
                 nm.setNodeStartTime(startTime);
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridLocalMetrics.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridLocalMetrics.java
index 8f7f15e..b26774f 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridLocalMetrics.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridLocalMetrics.java
@@ -139,17 +139,6 @@
     public long getNonHeapMemoryUsed();
 
     /**
-     * Returns the amount of non-heap memory in bytes that is committed for
-     * the Java virtual machine to use. This amount of memory is
-     * guaranteed for the Java virtual machine to use.
-     * The non-heap memory consists of one or more memory pools. This value is
-     * the sum of {@code committed} non-heap memory values of all non-heap memory pools.
-     *
-     * @return The amount of committed memory in bytes.
-     */
-    public long getNonHeapMemoryCommitted();
-
-    /**
      * Returns the maximum amount of non-heap memory in bytes that can be
      * used for memory management. This method returns {@code -1}
      * if the maximum memory size is undefined.
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/PlatformContextImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/PlatformContextImpl.java
index 090f382..4eb908b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/PlatformContextImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/PlatformContextImpl.java
@@ -325,9 +325,7 @@
             writer.writeLong(metrics.getNonHeapMemoryInitialized());
 
             writer.writeLong(metrics.getNonHeapMemoryUsed());
-            writer.writeLong(metrics.getNonHeapMemoryCommitted());
             writer.writeLong(metrics.getNonHeapMemoryMaximum());
-            writer.writeLong(metrics.getNonHeapMemoryTotal());
             writer.writeLong(metrics.getUpTime());
 
             writer.writeTimestamp(new Timestamp(metrics.getStartTime()));
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientNodeMetricsBean.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientNodeMetricsBean.java
index 4138c24..9ceb96f 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientNodeMetricsBean.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientNodeMetricsBean.java
@@ -135,9 +135,6 @@
     private long nonHeapUsed = -1;
 
     /** */
-    private long nonHeapCommitted = -1;
-
-    /** */
     private long nonHeapMax = -1;
 
     /** */
@@ -801,22 +798,6 @@
     }
 
     /**
-     * Returns the amount of non-heap memory in bytes that is committed for
-     * the Java virtual machine to use. This amount of memory is
-     * guaranteed for the Java virtual machine to use.
-     * The non-heap memory consists of one or more memory pools. This value is
-     * the sum of {@code committed} non-heap memory values of all non-heap memory pools.
-     * <p>
-     * <b>Note:</b> this is <b>not</b> an aggregated metric and it's calculated
-     * from the time of the node's startup.
-     *
-     * @return The amount of committed memory in bytes.
-     */
-    public long getNonHeapMemoryCommitted() {
-        return nonHeapCommitted;
-    }
-
-    /**
      * Returns the maximum amount of non-heap memory in bytes that can be
      * used for memory management. This method returns {@code -1}
      * if the maximum memory size is undefined.
@@ -1043,15 +1024,6 @@
     }
 
     /**
-     * Sets committed non-heap memory.
-     *
-     * @param nonHeapCommitted Committed non-heap memory.
-     */
-    public void setNonHeapMemoryCommitted(long nonHeapCommitted) {
-        this.nonHeapCommitted = nonHeapCommitted;
-    }
-
-    /**
      * Sets maximum possible non-heap memory.
      *
      * @param nonHeapMax Maximum possible non-heap memory.
@@ -1264,7 +1236,6 @@
             maxJobWaitTime == other.maxJobWaitTime &&
             maxRejectedJobs == other.maxRejectedJobs &&
             maxWaitingJobs == other.maxWaitingJobs &&
-            nonHeapCommitted == other.nonHeapCommitted &&
             nonHeapInit == other.nonHeapInit &&
             nonHeapMax == other.nonHeapMax &&
             nonHeapUsed == other.nonHeapUsed &&
@@ -1328,7 +1299,6 @@
             append(", heapMax=").append(heapMax).
             append(", nonHeapInit=").append(nonHeapInit).
             append(", nonHeapUsed=").append(nonHeapUsed).
-            append(", nonHeapCommitted=").append(nonHeapCommitted).
             append(", nonHeapMax=").append(nonHeapMax).
             append(", upTime=").append(upTime).
             append(", startTime=").append(startTime).
@@ -1386,7 +1356,6 @@
         out.writeLong(heapMax);
         out.writeLong(nonHeapInit);
         out.writeLong(nonHeapUsed);
-        out.writeLong(nonHeapCommitted);
         out.writeLong(nonHeapMax);
         out.writeLong(upTime);
         out.writeLong(startTime);
@@ -1442,7 +1411,6 @@
         heapMax = in.readLong();
         nonHeapInit = in.readLong();
         nonHeapUsed = in.readLong();
-        nonHeapCommitted = in.readLong();
         nonHeapMax = in.readLong();
         upTime = in.readLong();
         startTime = in.readLong();
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/top/GridTopologyCommandHandler.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/top/GridTopologyCommandHandler.java
index 536ec88..097194b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/top/GridTopologyCommandHandler.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/top/GridTopologyCommandHandler.java
@@ -265,7 +265,6 @@
             metricsBean.setMaximumThreadCount(metrics.getMaximumThreadCount());
             metricsBean.setMaximumWaitingJobs(metrics.getMaximumWaitingJobs());
             metricsBean.setNodeStartTime(metrics.getNodeStartTime());
-            metricsBean.setNonHeapMemoryCommitted(metrics.getNonHeapMemoryCommitted());
             metricsBean.setNonHeapMemoryInitialized(metrics.getNonHeapMemoryInitialized());
             metricsBean.setNonHeapMemoryMaximum(metrics.getNonHeapMemoryMaximum());
             metricsBean.setNonHeapMemoryUsed(metrics.getNonHeapMemoryUsed());
diff --git a/modules/core/src/main/java/org/apache/ignite/mxbean/ClusterLocalNodeMetricsMXBean.java b/modules/core/src/main/java/org/apache/ignite/mxbean/ClusterLocalNodeMetricsMXBean.java
index ea3a57a..0374ce0 100644
--- a/modules/core/src/main/java/org/apache/ignite/mxbean/ClusterLocalNodeMetricsMXBean.java
+++ b/modules/core/src/main/java/org/apache/ignite/mxbean/ClusterLocalNodeMetricsMXBean.java
@@ -182,20 +182,11 @@
     public long getNonHeapMemoryUsed();
 
     /** {@inheritDoc} */
-    @MXBeanDescription("Amount of non-heap memory in bytes that is committed for the JVM to use.")
-    public long getNonHeapMemoryCommitted();
-
-    /** {@inheritDoc} */
     @MXBeanDescription("Maximum amount of non-heap memory in bytes that can " +
         "be used for memory management. -1 if undefined.")
     public long getNonHeapMemoryMaximum();
 
     /** {@inheritDoc} */
-    @MXBeanDescription("Total amount of non-heap memory in bytes that can " +
-        "be used for memory management. -1 if undefined.")
-    public long getNonHeapMemoryTotal();
-
-    /** {@inheritDoc} */
     @MXBeanDescription("Uptime of the JVM in milliseconds.")
     public long getUpTime();
 
diff --git a/modules/core/src/test/java/org/apache/ignite/spi/discovery/ClusterMetricsSnapshotSerializeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/spi/discovery/ClusterMetricsSnapshotSerializeSelfTest.java
index a1e36a3..09ff19c 100644
--- a/modules/core/src/test/java/org/apache/ignite/spi/discovery/ClusterMetricsSnapshotSerializeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/spi/discovery/ClusterMetricsSnapshotSerializeSelfTest.java
@@ -122,7 +122,6 @@
         metrics.setMaximumJobWaitTime(25);
         metrics.setMaximumRejectedJobs(26);
         metrics.setMaximumWaitingJobs(27);
-        metrics.setNonHeapMemoryCommitted(28);
         metrics.setNonHeapMemoryInitialized(29);
         metrics.setNonHeapMemoryMaximum(30);
         metrics.setNonHeapMemoryUsed(31);
@@ -141,7 +140,6 @@
         metrics.setReceivedMessagesCount(44);
         metrics.setReceivedBytesCount(45);
         metrics.setOutboundMessagesQueueSize(46);
-        metrics.setNonHeapMemoryTotal(47);
         metrics.setHeapMemoryTotal(48);
 
         return metrics;
@@ -178,7 +176,6 @@
             obj.getMaximumJobWaitTime() == obj1.getMaximumJobWaitTime() &&
             obj.getMaximumRejectedJobs() == obj1.getMaximumRejectedJobs() &&
             obj.getMaximumWaitingJobs() == obj1.getMaximumWaitingJobs() &&
-            obj.getNonHeapMemoryCommitted() == obj1.getNonHeapMemoryCommitted() &&
             obj.getNonHeapMemoryInitialized() == obj1.getNonHeapMemoryInitialized() &&
             obj.getNonHeapMemoryMaximum() == obj1.getNonHeapMemoryMaximum() &&
             obj.getNonHeapMemoryUsed() == obj1.getNonHeapMemoryUsed() &&
@@ -197,7 +194,6 @@
             obj.getReceivedMessagesCount() == obj1.getReceivedMessagesCount() &&
             obj.getReceivedBytesCount() == obj1.getReceivedBytesCount() &&
             obj.getOutboundMessagesQueueSize() == obj1.getOutboundMessagesQueueSize() &&
-            obj.getNonHeapMemoryTotal() == obj1.getNonHeapMemoryTotal() &&
             obj.getHeapMemoryTotal() == obj1.getHeapMemoryTotal();
     }
 }
\ No newline at end of file
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Cluster/IClusterMetrics.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Cluster/IClusterMetrics.cs
index f0889d9..f536d10 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Cluster/IClusterMetrics.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Cluster/IClusterMetrics.cs
@@ -259,21 +259,11 @@
         long NonHeapMemoryUsed { get; }
 
         /// <summary>
-        /// Amount of non-heap memory in bytes that is committed for the JVM to use. 
-        /// </summary>
-        long NonHeapMemoryCommitted { get; }
-
-        /// <summary>
         /// Maximum amount of non-heap memory in bytes that can be used for memory management.
         /// </summary>
         long NonHeapMemoryMaximum { get; }
 
         /// <summary>
-        /// Total amount of non-heap memory in bytes that can be used for memory management. 
-        /// </summary>
-        long NonHeapMemoryTotal { get; }
-
-        /// <summary>
         /// Uptime of the JVM in milliseconds.
         /// </summary>
         long Uptime { get; }
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cluster/ClusterMetricsImpl.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cluster/ClusterMetricsImpl.cs
index 3844d04..d2e215e 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cluster/ClusterMetricsImpl.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cluster/ClusterMetricsImpl.cs
@@ -81,9 +81,7 @@
             NonHeapMemoryInitialized = reader.ReadLong();
 
             NonHeapMemoryUsed = reader.ReadLong();
-            NonHeapMemoryCommitted = reader.ReadLong();
             NonHeapMemoryMaximum = reader.ReadLong();
-            NonHeapMemoryTotal = reader.ReadLong();
             Uptime = reader.ReadLong();
 
             var startTime = reader.ReadTimestamp();
@@ -241,15 +239,9 @@
         public long NonHeapMemoryUsed { get; private set; }
 
         /** <inheritDoc /> */
-        public long NonHeapMemoryCommitted { get; private set; }
-
-        /** <inheritDoc /> */
         public long NonHeapMemoryMaximum { get; private set; }
 
         /** <inheritDoc /> */
-        public long NonHeapMemoryTotal { get; private set; }
-
-        /** <inheritDoc /> */
         public long Uptime { get; private set; }
 
         /** <inheritDoc /> */
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/node/VisorNodeCommand.scala b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/node/VisorNodeCommand.scala
index 93cf233..64b4c57 100644
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/node/VisorNodeCommand.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/node/VisorNodeCommand.scala
@@ -224,7 +224,6 @@
                             t += ("Heap memory maximum", formatMemory(m.getHeapMemoryMaximum))
                             t += ("Non-heap memory initialized", formatMemory(m.getNonHeapMemoryInitialized))
                             t += ("Non-heap memory used", formatMemory(m.getNonHeapMemoryUsed))
-                            t += ("Non-heap memory committed", formatMemory(m.getNonHeapMemoryCommitted))
                             t += ("Non-heap memory maximum", formatMemory(m.getNonHeapMemoryMaximum))
                             t += ("Current thread count", formatNumber(m.getCurrentThreadCount))
                             t += ("Maximum thread count", formatNumber(m.getMaximumThreadCount))