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

Out of memory HXN #702

Open
gwbischof opened this issue May 25, 2022 · 1 comment
Open

Out of memory HXN #702

gwbischof opened this issue May 25, 2022 · 1 comment

Comments

@gwbischof
Copy link
Contributor

"There seems to be a memory leak when loading a batch of data with PyXRF using Data Broker V1 (no memory leak when using Data Broker V0). After loading 13 files, about 70 GB of memory is consumed. Loading a batch of runs in the range 92276-92335 using make_hdf in IPython it was observed that the amount of used memory increased from 42 GB to 113 GB (out of 126 GB) once run 92289 was reached. The memory is released once IPython is closed." - @dmgav

@gwbischof
Copy link
Contributor Author

gwbischof commented May 25, 2022

This can be worked around by using databroker-intake and running, or using databroker v0

db._catalog._entries.cache_clear()

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

No branches or pull requests

1 participant