public static int readOption(@NotNull MemoryKind kind, boolean effective) {
    String strValue = readOption(kind.option, effective);
    if (strValue != null) {
      try {
        return (int)(parseMemoryOption(strValue) >> 20);
      }
      catch (IllegalArgumentException e) {
        LOG.info(e);
      }
    }
    return -1;
  }
public static int readOption(@NotNull MemoryKind kind, boolean effective)