public static void setTestDisableMemoryUpdates(final boolean newTestDisableMemoryUpdates) {
    testDisableMemoryUpdates = newTestDisableMemoryUpdates;
  }
Overrides the value returned by the JVM as the number of bytes of available memory.

@param testMaxMemoryBytes The value to use as the maximum number of bytes of memory available.
geode-core/src/main/java/org/apache/geode/internal/cache/control/HeapMemoryMonitor.java