presto-orc/src/main/java/io/prestosql/orc/stream/MemoryOrcDataReader.java/MemoryOrcDataReader/getMaxBufferSize
class MemoryOrcDataReader:    @Override
    public int getMaxBufferSize()
    {
        return data.length();
    }