# Rclone just RAM caching

**URL:** <https://forum.rclone.org/t/rclone-just-ram-caching/29293>\
**Category:** Help and Support\
**Created:** [February 15, 2022, 11:17pm UTC](https://forum.rclone.org/t/rclone-just-ram-caching/29293 "2022-02-15T23:17:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [February 15, 2022, 11:25pm UTC](https://forum.rclone.org/t/rclone-just-ram-caching/29293/2 "2022-02-15T23:25:49Z")

</div>

hello,

the vfs dir cache uses ram and is always required.  
have a read of my comparison of the vfs dir cache and the vfs file cache  
[https://forum.rclone.org/t/status-about-using-rclone-for-music-storage-playback-in-2021-access-times-improved/27648/34](https://forum.rclone.org/t/status-about-using-rclone-for-music-storage-playback-in-2021-access-times-improved/27648/34)

> [@el\_pedriyo](#):
>
> use --buffer-size flag to make my files available to the system but just from the RAM

as far as i know, that is not possible, the buffer is not persistent.  
see this open issue  
[https://github.com/rclone/rclone/issues/5592](https://github.com/rclone/rclone/issues/5592)

you can use the vfs file cache and store that in the ramdisk.  
note, that `--vfs-cache-max-size` is a soft limit and possible for rclone to use more space.  
and if a file is open/locked/in-use, rclone will not remove it.

and for my mounts, when streaming from cloud, i use  
--- `--read-only`  
--- do not use `--vfs-cache-mode`, in effect `--vfs-cache-mode=off`

---

_[View the full topic](https://forum.rclone.org/t/rclone-just-ram-caching/29293)._
