@Override
  public Properties getDistributedSystemProperties() {
    Properties config = new Properties();

    config.setProperty(OFF_HEAP_MEMORY_SIZE, "1m");
    config.setProperty(JMX_MANAGER, "true");
    config.setProperty(JMX_MANAGER_START, "true");
    config.setProperty(JMX_MANAGER_PORT, "0");

    return config;
  }
Returns off-heap system properties for enabling off-heap and the JMX system.
geode-core/src/distributedTest/java/org/apache/geode/management/OffHeapManagementDUnitTest.java