@Override
  protected RegionAttributes<?, ?> createRegionAttrsForPR(int redundancy, int localMaxMemory,
      long recoveryDelay, EvictionAttributes evictionAttributes) {
    RegionAttributes<?, ?> regionAttributes = PartitionedRegionTestHelper.createRegionAttrsForPR(
        redundancy, localMaxMemory, recoveryDelay, evictionAttributes, null);
    AttributesFactory attributesFactory = new AttributesFactory(regionAttributes);
    attributesFactory.setOffHeap(true);
    return attributesFactory.create();
  }
Tests PartitionedRegion localMaxMemory with Off-Heap memory.

@since Geode 1.0
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/PartitionedRegionLocalMaxMemoryOffHeapDUnitTest.java