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

Is there a bug in Memory usage of 0.21.0 ? #458

Open
XiaoGe2030 opened this issue Sep 5, 2019 · 9 comments
Open

Is there a bug in Memory usage of 0.21.0 ? #458

XiaoGe2030 opened this issue Sep 5, 2019 · 9 comments

Comments

@XiaoGe2030
Copy link

image
Memory usage 95%???

@XiaoGe2030
Copy link
Author

I want to konw Which version fuse you used ?
image

@kahing
Copy link
Owner

kahing commented Sep 5, 2019

fuse version is not relevant here. did memory grow over time? could you note the memory usage before/after doing the 500MB write in #457? If you have a list of steps you take to reproduce this it would be very helpful

@XiaoGe2030
Copy link
Author

I use aws S3 bucket ,upload 50G file。the memery usage more than 50%。Finally ,Causing process exit,and upload failed !!!
image

the upload speed could arrive 120MB/S , but Memory usage is too high。I think there must be a bug !

@XiaoGe2030
Copy link
Author

fuse version is not relevant here. did memory grow over time? could you note the memory usage before/after doing the 500MB write in #457? If you have a list of steps you take to reproduce this it would be very helpful

I am looking source code ,hope too find the problem ,why Memeroy Uasge is so high, and goofys process exit.

@XiaoGe2030
Copy link
Author

fuse version is not relevant here. did memory grow over time? could you note the memory usage before/after doing the 500MB write in #457? If you have a list of steps you take to reproduce this it would be very helpful

I found goofys binay file ,which make build by myself , it's can upload 50G file ,and Memeroy Uasge is only 50%。 I think if the release version of goofys is not correct?

@kahing
Copy link
Owner

kahing commented Sep 7, 2019

what does goofys --version say for your own goofys binary?

@diamondap
Copy link

For what it's worth, the underlying AWS S3 library is known to use huge amounts of memory when uploading. See aws/aws-sdk-go#2228 and aws/aws-sdk-go#2036.

@kahing
Copy link
Owner

kahing commented Nov 21, 2019

I don't use the upload manger

@darkdragon-001
Copy link

There was a similar bug in rclone (which is also using AWS SDK) but was fixed in their latest version. Maybe you can gain some insights from their fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants