@Override
  public int getLocalMaxMemory() {
    return partitionAttributesData.getLocalMaxMemory();
  }
partition region entry count is taken from all primary bucket entry count. Ideally it should
come from stats. to be done in 8.0
geode-core/src/main/java/org/apache/geode/management/internal/beans/PartitionedRegionBridge.java