-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
potential memory leak in ipfs add #4505
Comments
That may be providing. We queue up a bunch of go routines to provide blocks and have no backpressure mechanism. Ask them to try again with |
Several issues:
|
@Stebalien hrm... thats troublesome, but the users reporting issues here said that their machines had at least 8GB of ram. That wouldnt account for that would it? |
We should try adding an LRU (or ARC) cache for CIDs. |
|
(old) |
Several users have reported ipfs using way too much memory when adding large datasets.
This could be that the mfs structure is not ever flushing directories from memory, we probably need to periodically call
Flush
on parts of the structure during longer adds.The text was updated successfully, but these errors were encountered: