private long convertToBytes(int megaBytes) {
    long bytes = megaBytes;
    bytes = bytes * 1024 * 1024;
    return bytes;
  }
Takes an int which is supposed to be in megabytes and converts it to a long. This conversion
takes into account that multiplication can lead to Integer.MAX_VALUE being exceeded

@return the converted value
geode-core/src/main/java/org/apache/geode/cache/DiskWriteAttributesFactory.java