Where we see, yes this does load the entire body into memory.
The user is complaining about out of memory errors when trying to upload a very large file (10GB).
This might be an error we are making in the rclone code - I didn't write this bit of code so maybe we are using the library wrong, but loading a 10GB body into memory is a bit unfriendly!
Here is the rclone code if anyone wants to take a look
I had a bug report in rclone which was complaining about huge memory use.
I tracked it down from the log to this
Which points to this bit of code
https://github.com/Azure/go-ntlmssp/blob/754e69321358ada85ce213a4ec971d3e4d1bfdf7/negotiator.go#L49-L59
Where we see, yes this does load the entire body into memory.
The user is complaining about out of memory errors when trying to upload a very large file (10GB).
This might be an error we are making in the rclone code - I didn't write this bit of code so maybe we are using the library wrong, but loading a 10GB body into memory is a bit unfriendly!
Here is the rclone code if anyone wants to take a look
https://github.com/rclone/rclone/blob/1ebbc74f1d62457aea660b9e4378cc085c0dd25e/backend/webdav/webdav.go#L462