Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Storage FUSE - Using gcsfuse fills up local instance memory

I've been using gcsfuse (FUSE) for some weeks and everything was running smoothly until my instance disk(10GB) got filled up out of nowhere.

I was trying to identify the cause and erasing some temporal files and found out that unmounting the bucket fixed the issue.

It's supposed to upload to the cloud right? So why is it taking up space as if it was counted as local instance space?

Thanks for the help guys.

like image 322
adrastious Avatar asked Dec 01 '25 09:12

adrastious


1 Answers

Here is a reason why you would see this behaviour.

Pasting from the gcsfuse doc https://cloud.google.com/storage/docs/gcs-fuse

Local storage: Objects that are new or modified will be stored in their entirety in a local temporary file until they are closed or synced. When working with large files, be sure you have enough local storage capacity for temporary copies of the files, particularly if you are working with Google Compute Engine instances. For more information, see the readme documentation.

like image 89
Visu Avatar answered Dec 05 '25 15:12

Visu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!