@Before
  public void setUp() throws Exception {
    String uniqueName = getClass().getSimpleName() + "_" + testName.getMethodName();
    regionName = uniqueName + "_region";
    diskStoreName = uniqueName + "_diskStore";

    cache = new CacheFactory(config).create();

    diskDirs = new File[1];
    diskDirs[0] = createDirectory(temporaryFolder.getRoot(), testName.getMethodName());
    diskDirSizes = new int[1];
    Arrays.fill(diskDirSizes, Integer.MAX_VALUE);

    DiskStoreImpl.SET_IGNORE_PREALLOCATE = true;
    TombstoneService.EXPIRED_TOMBSTONE_LIMIT = 1;
    TombstoneService.REPLICATE_TOMBSTONE_TIMEOUT = 1;
  }
Verifies that the unnecessary memory is cleared when operational log is compacted.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/DiskRegionCompactorClearsObjectThatAreNoLongerNeededIntegrationTest.java