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

Auto release computed PNG data after caching #1026

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

mvasilak
Copy link
Contributor

Closes #1023

This could be due to a large number of annotation previews. pngData may be called with a larger frequency than this of memory release, resulting in this type of crash, regardless that a background queue is used. If so, an auto release pool may be enough to force memory purging.

@mvasilak mvasilak merged commit 5ab1e85 into zotero:master Nov 18, 2024
1 check failed
@mvasilak mvasilak deleted the improve-pngdata-memory-usage branch November 18, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Annotation preview crash
2 participants