You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In create_stream_for_chunk the stated purpose is to create a stream of small chunks of memory read from a Reader object however it appears that during the aws_sdk migration there was a need to transform the stream to a different type per the comment here:
This while loop ends up building up an 8mb chunk of memory anyway. If this is an issue for memory usage in the future I would suggest remove this function and just passing a whole 8mb chunk to the multi-part PUT call, or fix the method (somehow) so that the streaming behavior can be maintained.
The text was updated successfully, but these errors were encountered:
In
create_stream_for_chunk
the stated purpose is to create a stream of small chunks of memory read from aReader
object however it appears that during theaws_sdk
migration there was a need to transform the stream to a different type per the comment here:esthri/crates/esthri/src/ops/upload.rs
Line 367 in 7cbb824
This while loop ends up building up an 8mb chunk of memory anyway. If this is an issue for memory usage in the future I would suggest remove this function and just passing a whole 8mb chunk to the multi-part PUT call, or fix the method (somehow) so that the streaming behavior can be maintained.
The text was updated successfully, but these errors were encountered: