public static int getCycleBufferSize() {
    UISettings uiSettings = UISettings.getInstance();
    if (uiSettings.getOverrideConsoleCycleBufferSize()) {
      return Math.min(Integer.MAX_VALUE / 1024, uiSettings.getConsoleCycleBufferSizeKb()) * 1024;
    }
    return getLegacyCycleBufferSize();
  }
public static int getCycleBufferSize()