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

Moved tile encoding into separate function #6456

Merged
merged 1 commit into from Jul 24, 2022

Conversation

radarhere
Copy link
Member

Resolves #6448

The issue reports an increase in memory usage. Testing, I find that it started with bb9338e. It would appear that the exception value is being held onto.

This PR moves the code into a separate function, which stops the memory problem.

@radarhere radarhere changed the title Moved code into separate function Moved tile encoding into separate function Jul 22, 2022
@radarhere
Copy link
Member Author

This also addresses the memory problem in #6434

@hugovk hugovk merged commit f3551ae into python-pillow:main Jul 24, 2022
@radarhere radarhere deleted the memory branch July 24, 2022 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leaks in Image.close() after saving as pdf or png
2 participants