code: private long getDeprecatedMemoryValue() {
      long oldValue = getLong(MAPRED_TASK_MAXVMEM_PROPERTY,
        DISABLED_MEMORY_LIMIT);
      oldValue = normalizeMemoryConfigValue(oldValue);
      if (oldValue != DISABLED_MEMORY_LIMIT) {
        oldValue /= (1024*1024);
      }
      return oldValue;
    }
docs: value.