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

memory leak opening new images #158

Open
aremmiw opened this issue Dec 30, 2024 · 0 comments
Open

memory leak opening new images #158

aremmiw opened this issue Dec 30, 2024 · 0 comments

Comments

@aremmiw
Copy link
Contributor

aremmiw commented Dec 30, 2024

When browsing a booru or reading a CBZ file, memory usage goes up for every new image that is opened and doesn't go down. Eventually ahoviewer is killed by OOM-killer.

  • problem commit is probably 32062a8, previous commits didn't have this problem.
  • memory usage goes down somewhat when making a new booru search or opening a new CBZ.
    • still uses a lot of memory.
  • tested on GNU/Linux, both with and without optional dependencies.

ahoviewer uses gigabytes of memory after viewing 100 high-resolution (1800x2500) images in a CBZ file.
before 32062a8 it would never go above 250M.

The same issue exists when clicking on images in a booru search.

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

No branches or pull requests

1 participant