Skip to content

Conversation

maddenp-cu
Copy link
Collaborator

Synopsis

To avoid out-of-memory issues when fetching large remote files via HTTP, use streaming, chunked reads/writes instead of reading the entire file into memory and then writing it to disk. This should be an optimization invisible to users.

Type

  • Bug fix (corrects a known issue)

Impact

  • This is a non-breaking change (existing functionality continues to work as expected)

Checklist

  • I have added myself and any co-authors to the PR's Assignees list.
  • I have reviewed the documentation and have made any updates necessitated by this change.

@maddenp-cu maddenp-cu self-assigned this Jul 11, 2025
@maddenp-cu maddenp-cu marked this pull request as ready for review July 11, 2025 22:47
@maddenp-cu maddenp-cu merged commit 57c4712 into ufs-community:main Jul 14, 2025
2 checks passed
@maddenp-cu maddenp-cu deleted the chunked-http-get branch July 14, 2025 18:49
maddenp-cu added a commit to maddenp-cu/uwtools that referenced this pull request Jul 14, 2025
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

Successfully merging this pull request may close these issues.

3 participants