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 space leak by including writing out shrunken images in parallelized operation #140

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

jerith666
Copy link
Owner

as discussed in the comment, the old approach would hold all shrunken images in memory at once, before writing any of them to disk. the new approach permits each shrunken image to be written to disk as soon as it's ready.

this source of the space leak and the solution was suggested by claude.ai.

fixes #98

…ed operation

as discussed in the comment, the old approach would hold all shrunken
images in memory at once, before writing any of them to disk.  the new
approach permits each shrunken image to be written to disk as soon as
it's ready.

this source of the space leak and the solution was suggested by
claude.ai.

fixes #98
@jerith666 jerith666 merged commit a7f015b into dev Nov 14, 2024
4 checks passed
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.

big memory usage
1 participant