long getTotalMemoryPool() {
    return totalMemoryPool;
  }
@Test
  public void testMemoryManagerUpperLimit() {
    // Verify the memory pool size
    // this value tends to change a little between setup and tests, so this
    // validates that it is within 15% of the expected value
    long poolSize = ParquetOutputFormat.getMemoryManager().getTotalMemoryPool();
    Assert.assertTrue(
        "Pool size should be within 15% of the expected value" + " (expected = " + expectedPoolSize
            + " actual = " + poolSize + ")",
        Math.abs(expectedPoolSize - poolSize) < (long) (expectedPoolSize * 0.15));
  }