public int getLocalMaxMemoryForValidation() {
    if (offHeap && !hasLocalMaxMemory && !localMaxMemoryExists) {
      int value = computeOffHeapLocalMaxMemory();
      if (localMaxMemoryExists) { // real value now exists so set it and return
        localMaxMemory = value;
      }
    }
    return localMaxMemory;
  }
Returns localMaxMemory for validation of attributes before Region is created (possibly before
DistributedSystem is created). Returned value may be the temporary placeholder representing
offHeapLocalMaxMemory which cannot be calculated until the DistributedSystem is created. See
bug #52003.

@see #OFF_HEAP_LOCAL_MAX_MEMORY_PLACEHOLDER
@see #getLocalMaxMemory()
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionAttributesImpl.java