public int getLocalMaxMemory() {
    return localMaxMemory;
  }
This is getter method for local max memory.

@return local max memory for this PartitionedRegion
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java