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

Fix Memory leak #4

Open
freundTech opened this issue Mar 24, 2020 · 1 comment
Open

Fix Memory leak #4

freundTech opened this issue Mar 24, 2020 · 1 comment
Labels
bug Something isn't working dependency Something that involves a dependency

Comments

@freundTech
Copy link
Owner

freundTech commented Mar 24, 2020

spotpris2 has a memory leak somewhere. I caught it using 2GB of memory.

I'd guess that the dbus buses don't get automatically cleaned up if they are no longer used and need to be manually destroyed, but more testing is needed.

@freundTech freundTech added the bug Something isn't working label Mar 24, 2020
@freundTech
Copy link
Owner Author

freundTech commented Mar 24, 2020

After looking into this a bit more it looks like this is a known error in pygobject and/or glib:
LEW21/pydbus#83
https://gitlab.gnome.org/GNOME/pygobject/-/issues/307
https://gitlab.gnome.org/GNOME/glib/-/issues/2048

@freundTech freundTech added the dependency Something that involves a dependency label Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependency Something that involves a dependency
Projects
None yet
Development

No branches or pull requests

1 participant