@Deprecated
  public PartitionAttributesFactory<K, V> setTotalMaxMemory(long mb) {
    partitionAttributes.setTotalMaxMemory(mb);
    return this;
  }
Sets the maximum amount of memory, in megabytes, to be used by the region in all processes.
<p>
<em>This setting must be the same in all processes using the Region.</em> The default value is
Integer.MAX_VALUE.

@param mb the maximum amount of memory, in megabytes, to be used by the region in all processes
@return PartitionAttributeFactory.

@deprecated since Geode 1.3.0
geode-core/src/main/java/org/apache/geode/cache/PartitionAttributesFactory.java