GitHub user Xuanwo added a comment to the discussion: (rust) Huge memory 
consumption, when recv+streaming 1k chunks to S3

Hi, @michaelrommel, please try this pr: 
https://github.com/apache/opendal/pull/7217

My current understanding is that `tokio::io::copy` calls `flush` whenever the 
read side returns pending. This can trigger OpenDAL's writer to flush its 
internal buffer even when it is not full.

GitHub link: 
https://github.com/apache/opendal/discussions/7200#discussioncomment-15893431

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to