Avoid large IO operations on Darwin
This works around #17414 (closed) by limiting the size of IO operations to 2GB on Darwin. The approach is rather hacky but I don't see many better alternatives.
This works around #17414 (closed) by limiting the size of IO operations to 2GB on Darwin. The approach is rather hacky but I don't see many better alternatives.