Skip to content

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