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

Memray integration #558

Merged
merged 5 commits into from
Aug 27, 2024
Merged

Memray integration #558

merged 5 commits into from
Aug 27, 2024

Conversation

tomwhite
Copy link
Member

Fixes #372

@tomwhite tomwhite added documentation Improvements or additions to documentation memory labels Aug 21, 2024
@TomNicholas
Copy link
Member

Cool!

This could pair very well with an apply_gufunc example (#519). The docs could guide you through how to apply a custom ufunc (e.g. something from scipy), and measure its memory usage locally, so that you know how big your containers in the cloud would need to be.

@tomwhite tomwhite merged commit ff605e3 into main Aug 27, 2024
11 checks passed
@tomwhite tomwhite deleted the memray-integration branch August 27, 2024 14:48
@tomwhite tomwhite mentioned this pull request Aug 30, 2024
thodson-usgs pushed a commit to thodson-usgs/cubed that referenced this pull request Oct 24, 2024
* Use Memray to examine tasks running on `lithops` or `processes` executors

* Add Memray documentation

* Fix mypy

* Update docs/user-guide/diagnostics.md

Co-authored-by: Tom Nicholas <[email protected]>

* Make memray check more defensive

---------

Co-authored-by: Tom Nicholas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation memory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Profile Cubed task memory usage with Memray
2 participants