code: private int calculatePageSize()
      {
          int meanColumnCount = hintStore.getMeanColumns();
          if (meanColumnCount <= 0)
              return PAGE_SIZE;
  
          int averageColumnSize = (int) (hintStore.getMeanRowSize() / meanColumnCount);
          if (averageColumnSize <= 0)
              return PAGE_SIZE;
  
          // page size of 1 does not allow actual paging b/c of >= behavior on startColumn
          return Math.max(2, Math.min(PAGE_SIZE, 4 * 1024 * 1024 / averageColumnSize));
      }
docs: read less columns (mutations) per page if they are very large