I use RestSharp in the Mono project to download some files, and I noticed that when loading a large file, the memory increases significantly.
Looking at the RestSharp Source Code I noticed that FileParameter expects an array of bytes, which means that it really loads the file into memory.
Am I doing something wrong? Is there a way for RestSharp not to do this? I can upload really large files, so loading them from memory is not an option.
Any help (including pointing out to use a different HTTP library available in mono) is appreciated.
Maurรญcio Linhares
source share