Rclone max cache size not working

What is the problem you are having with rclone?

I set the max cache size to 10GB but rclone cache folder has 30+GB on it

What is your rclone version (output from rclone version)

rclone v1.53.3

  • os/arch: windows/amd64
  • go version: go1.15.5

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 64 Bit

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount GoogleDrive: U: --vfs-cache-max-size 10G --cache-dir "D:\Tools For Games\Mount Google Drives\Rclone\Cache Folder" --vfs-cache-mode full

When I open the cache folder there is a 30+ GB .zip folder. Is it because the file is a .zip rclone has no choice but to ignore the max cache size?

as per the docs,
"If using --vfs-cache-max-size note that the cache may exceed this size for two reasons. Firstly because it is only checked every --vfs-cache-poll-interval. Secondly because open files cannot be evicted from the cache."

note:
rclone uses sparse files for the cache, assuming the underlying file system suppprts it.
on windows, ntfs and refs.

for example, i often have large zip files in the clould, 10GB+
if i need to extract a single file, then rclone will download just the chunks needed, not the entire 10GB+ file.
compare size on disk to size

image

Is there something wrong with my mounting code?

rclone mount GoogleDrive: U: --vfs-cache-max-size 10G --cache-dir "D:\Tools For Games\Mount Google Drives\Rclone\Cache Folder" --vfs-cache-mode full

wrong, in what way?

what is the file system for d:?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.