Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of memory: Killed process xxxx (gcsf) #77

Open
ddonindia opened this issue Mar 31, 2020 · 5 comments
Open

Out of memory: Killed process xxxx (gcsf) #77

ddonindia opened this issue Mar 31, 2020 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@ddonindia
Copy link

While copying large (4GB) file from mounted folder to my local disk I am seeing OOM kill.

Looks like gcsf is keeping all files in memory.
I tried reducing values of cache_max_seconds , cache_max_items and cache_statfs_seconds but noo luck.

@harababurel
Copy link
Owner

That's true, and unfortunately there's no easy fix since this issue stems from a design decision.

@harababurel harababurel added the help wanted Extra attention is needed label Apr 9, 2020
@ddonindia
Copy link
Author

Ok.
Sorry mate I had to switched to rclone

@sanderPostma
Copy link

I'll take a look into the source code when I get to it. On a Raspberry PI this is a real issue since there is not lot of memory available. I have a 750MBit fiber line so mounting a Google drive would make sense for storage that's not speed critical. (I'm paying a lot annually for that 2TB anyway so buying more storage seems a waste of money.)

@martinszy
Copy link

I think rclone chunks the files every 10mb to avoid this issue. Is it maybe possible to implement chunks in gcsf too?

@harababurel
Copy link
Owner

It might be a possible solution to explore. For now you might be able to get around by setting a trivial cache limit (cache_max_items = 0, cache_max_seconds = 0). The only limitation with this is that you can only access a file if it would fit in your available RAM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants