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

verify max memory usage #72

Closed
roadscape opened this issue Jan 30, 2018 · 2 comments
Closed

verify max memory usage #72

roadscape opened this issue Jan 30, 2018 · 2 comments
Milestone

Comments

@roadscape
Copy link
Contributor

Hive's max memory usage should be no more than 1-2GB currently; let's set a limit (at least in dev) to verify.

https://docs.python.org/2/library/resource.html

Related to #49

@roadscape roadscape added this to the 1.0 milestone Jan 30, 2018
@roadscape
Copy link
Contributor Author

The limit is most likely to be hit during initial sync if we're not properly skipping some write queues.

@roadscape
Copy link
Contributor Author

No convenient cross-platform way to do this, so for now just reporting peak usage on exit

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

1 participant