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

Pool::search leaks memory #391

Closed
easyteacher opened this issue Mar 21, 2022 · 2 comments
Closed

Pool::search leaks memory #391

easyteacher opened this issue Mar 21, 2022 · 2 comments

Comments

@easyteacher
Copy link

easyteacher commented Mar 21, 2022

When repeating calling the function, the krunner process's memory consumption keeps getting larger and larger. The leak is gone when commenting out the function.

Heaptrack result: heaptrack.tar.gz

Information for package libAppStreamQt2:

Repository : unstable-kde-frameworks
Name : libAppStreamQt2
Version : 0.15.1-ku.84.1
Arch : x86_64
Vendor : obs://build.opensuse.org/KDE:Unstable
Installed Size : 274.1 KiB
Installed : Yes
Status : up-to-date
Source package : AppStream-0.15.1-ku.84.1.src
Upstream URL : https://www.freedesktop.org/software/appstream/docs/
Summary : Qt5 bindings for AppStream

@easyteacher
Copy link
Author

The leak should exist elsewhere.

@ximion
Copy link
Owner

ximion commented Mar 21, 2022

So, you closed the issue because the leak isn't in AppStream?
(AFAIK there is no memory leak, because I profiled this a lot last year, but on the other hand there's always a chance that one was introduced since the last manual analysis and asan didn't catch it automatically)

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

2 participants