@Override
        public Long getValue() {
          return getTotalMemory();
        }
Returns the max memory of the process. We will use this to define a gauge metric
hbase-examples/src/main/java/org/apache/hadoop/hbase/coprocessor/example/ExampleMasterObserverWithMetrics.java