Commits


mwish authored and GitHub committed 1da71ba41ce
GH-43060: [C++] Limit buffer size in BufferedInputStream::SetBufferSize with raw_read_bound (#43064) ### Rationale for this change See https://github.com/apache/arrow/issues/43060 . This patch optimize memory-usage for buffering ### What changes are included in this PR? Limit the `buffer_size_` used by `SetBufferSize` ### Are these changes tested? Yes ### Are there any user-facing changes? No * GitHub Issue: #43060 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: mwish <maplewish117@gmail.com>