DokanCloudFS icon indicating copy to clipboard operation
DokanCloudFS copied to clipboard

Huge memory consumption during opening big files in Google Drive

Open psxvoid opened this issue 7 years ago • 1 comments

Hi

I tried to open a big .avi file (~400MB) from Google Drive and the Mounter ate a lot of memory during this operation (~1700MB). I'd even was not able to view this video file. Here is the screenshot of the Task Manager: screenclip

psxvoid avatar May 27 '17 08:05 psxvoid

Hi @psxvoid,

a file size of ~400MB sounds a bit excessive - actually the largest size I've been able to transfer in any reasonable amount of time was 250MB. Looks like my access provider sucks.

Nevertheless you've touched onto something here. Due to the requirement of determining the unencrypted content size of cloud files during read operations and the fact that some cloud gateways return non-seekable Streams, DokanCloudFS resorts to buffering the content of encrypted files. This is likely the reason for the substantial memory usage that you observed.

I will try to see if I can avoid the present buffering behavior in a future version of DokanCloudFS.

viciousviper avatar Jul 16 '17 09:07 viciousviper