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

Flush cached directories every so often during an add #3888

Merged
merged 1 commit into from
May 1, 2017

Conversation

whyrusleeping
Copy link
Member

If youre having trouble adding large amounts of directories to ipfs and run out of memory, try this

License: MIT
Signed-off-by: Jeromy [email protected]

@@ -104,6 +106,7 @@ type Adder struct {
unlocker bs.Unlocker
tempRoot *cid.Cid
Prefix *cid.Prefix
liveNodes uint64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this ever being increased?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

damn, i knew i messed something up

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@whyrusleeping whyrusleeping merged commit 76cd541 into master May 1, 2017
@whyrusleeping whyrusleeping deleted the fix/add-mem-growth-hack branch May 1, 2017 04:56
@whyrusleeping whyrusleeping removed the status/in-progress In progress label May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants