Skip to content

Remove inspecting JSON output when downloading file data#991

Merged
alahiff merged 1 commit into
devfrom
kzscisoft/990-downloading-artifacts-memory-leak
Jul 16, 2026
Merged

Remove inspecting JSON output when downloading file data#991
alahiff merged 1 commit into
devfrom
kzscisoft/990-downloading-artifacts-memory-leak

Conversation

@kzscisoft

Copy link
Copy Markdown
Collaborator

Fix Memory Issue when Downloading File Data

Issue: #990

Python Version(s) Tested: Python 3.14

Operating System(s): Ubuntu 26.04

📝 Summary

Addresses issue where there was a memory leak caused by streaming of all JSON data during download of files.

🔍 Diagnosis

See issue.

🔄 Changes

Removed unused call to get_json_response and instead performed response checks on just HTTP status code.

✔️ Checklist

  • Unit and integration tests passing.
  • Pre-commit hooks passing.
  • Quality checks passing.

@kzscisoft kzscisoft linked an issue Jul 16, 2026 that may be closed by this pull request
@kzscisoft
kzscisoft requested a review from alahiff July 16, 2026 11:24

@alahiff alahiff left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

works for me

@alahiff
alahiff merged commit 5e75211 into dev Jul 16, 2026
22 checks passed
@alahiff
alahiff deleted the kzscisoft/990-downloading-artifacts-memory-leak branch July 16, 2026 11:49
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.

Downloading artifacts as files has a memory leak

2 participants