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

fix: Improve memory usage during 7zip decompression #1226

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

adamantike
Copy link
Collaborator

This change improves memory usage, by only keeping a single archive's member file in memory at a time during 7zip decompression.

The py7zr library does not support streaming decompression yet, so this change is the best we can do for now.

Potential fix for #1211, but it won't improve memory usage for single-file 7zip archives.

This change improves memory usage, by only keeping a single archive's
member file in memory at a time during 7zip decompression.

The `py7zr` library does not support streaming decompression yet, so
this change is the best we can do for now.

Potential fix for #1211, but it won't improve memory usage for
single-file 7zip archives.
Copy link

github-actions bot commented Oct 6, 2024

Test Results

81 tests  ±0   81 ✅ ±0   24s ⏱️ ±0s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 149098f. ± Comparison against base commit 0b62fe2.

@adamantike adamantike merged commit 05dc67c into master Oct 6, 2024
8 checks passed
@adamantike adamantike deleted the fix/improve-memory-usage-7z-decompression branch October 6, 2024 23:36
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.

2 participants