olifant
olifant copied to clipboard
Memory leaks
It seems that something is causing the app to constantly grow in size, which is made worse when loading more content. Maybe it could wipe older images when the app is in the background to prevent it from loading them needlessly
I think, primary reason is that it does not clear old statuses from views 🤔Thanks for reporting, I'll think, what can I do with it.
Gtk is known to have memory leaks. I believe the rational is that the allocated memory will be freed when the program terminates, so it's left alone. This is likely only part of the problem.
Unfortunately, I can't check this properly because valgrind really doesn't like running olifant and keeps segfaulting. The errors seem rooted primarily in dependencies - glib in particular.
That said, I've sometimes gotten sefaults when running olifant normally; I'll open a separate issue for that in case there's something that can be done to help inside olifant.
I think this requires debugging :grin:
@Marie-Joseph, just to be sure: can you please point out version of olifant you are running? Is it a recent master buld or the repository-provided one?
I am using the code from #38 at the moment.