this post was submitted on 08 Jul 2024
523 points (97.5% liked)
Memes
45726 readers
882 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's definitely not out of the question that a reboot helps, but an app-level memory leak is highly unlikely to be the culprit.
Especially since Most Android Apps are written in memory Safe languages Like Java or kotlin. It is most likely Apps getting stuck doing a Background process indefinitely
It's not out of the question to have 'memory leaks' - apps accumulating more memory by keeping around references to more and more objects - but memory leaks in the stricter sense of not deallocating objects that you no longer have references to is less likely. Regardless, the OOM killer will come for your app, no matter how good you've been about managing your memory, as long as someone else wants to have the memory and you're the one who has been active the least recently.