Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Memory leaks #31

Open
hanaral opened this issue May 19, 2020 · 4 comments
Open

Memory leaks #31

hanaral opened this issue May 19, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@hanaral
Copy link

hanaral commented May 19, 2020

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

@cleac cleac added the bug Something isn't working label May 19, 2020
@cleac
Copy link
Owner

cleac commented May 19, 2020

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.

@Marie-Joseph
Copy link

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.

@cleac
Copy link
Owner

cleac commented Jun 29, 2020

I think this requires debugging 😁

@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?

@Marie-Joseph
Copy link

I am using the code from #38 at the moment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants