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

Break up results to save memory #49

Open
ajenhl opened this issue Jul 4, 2016 · 0 comments
Open

Break up results to save memory #49

ajenhl opened this issue Jul 4, 2016 · 0 comments
Assignees

Comments

@ajenhl
Copy link
Owner

ajenhl commented Jul 4, 2016

Some operations are memory hogs when operating on large results. For example, diff-reduce starts with one pandas DataFrames for all of the results, and gradually builds up another DataFrame with a subset of those results. When the CSV file for the full results is several G in size, this ends up using a lot of RAM.

It is probably worth breaking the results into chunks where possible, and writing out to disk. So, for example, diff-reduce could append each processed group of results to a file as CSV rather than keeping them in memory.

@ajenhl ajenhl self-assigned this Jul 4, 2016
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