Skip to content

Conversation

@bouweandela
Copy link
Member

@bouweandela bouweandela commented May 23, 2024

Description

Due to psf/requests#5536, downloading files from ESGF loaded entire files into memory, leading to potentially high memory use when downloading large files. This pull request avoids the issue.


Before you get started

Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.


To help with the number pull requests:

@bouweandela bouweandela added the bug Something isn't working label May 23, 2024
@codecov
Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.51%. Comparing base (2fc8761) to head (04d522e).
Report is 41 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2434   +/-   ##
=======================================
  Coverage   94.51%   94.51%           
=======================================
  Files         246      246           
  Lines       14023    14024    +1     
=======================================
+ Hits        13254    13255    +1     
  Misses        769      769           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bouweandela bouweandela marked this pull request as ready for review May 23, 2024 20:41
@bouweandela bouweandela requested a review from valeriupredoi May 23, 2024 20:41
Copy link
Contributor

@valeriupredoi valeriupredoi left a comment

Choose a reason for hiding this comment

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

Very useful, thanks a lot @bouweandela 🍺

@bouweandela
Copy link
Member Author

@chrisbillowsMO if it is still possible, this bugfix would also be nice to have in the release.

@chrisbillowsMO
Copy link
Contributor

@chrisbillowsMO if it is still possible, this bugfix would also be nice to have in the release.

@bouweandela Shouldn't be a problem. Have added to our checklist.

@valeriupredoi valeriupredoi added this to the v2.11.0 milestone May 24, 2024
@valeriupredoi
Copy link
Contributor

Many thanks @chrisbillowsMO - merge at will 🍺

@bouweandela bouweandela merged commit 53bb9ac into main May 24, 2024
@bouweandela bouweandela deleted the avoid-download-memory-issue branch May 24, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants