-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
[Potential Issue] High memory usage #823
Comments
Sadly I have to confirm that the memory usage is quite high. Just look at the image below. This screenshot was taken right after restarting my phone. Also I don't know if it's related but the app drawer is a bit laggy when scrolling. Edit. Used wrong image. |
Does anyone have any idea about why it is using so much memory? |
I do not really know that concept, but could it be a memory leak? |
It seems to have settled at around ~500MB. Is it normal for a launcher setup with two widgets to use this much memory? |
@exstntlmsnthrp Half a GB is not much? I've got very few programs on my workstation PC that need so much RAM, and they are mostly specialized software. This is supposed to be a launcher on a phone. And phones come in all configurations. For some, 500MB is half of the available RAM. |
Yes, I understand phones come in more configurations than is imaginable. Whilst it doesn't mean they don't exist, I've not seen any phones in the past 5 years with 1gb of RAM. And I'm not sure what you do with your PC. On my desktop PC, the web browser alone uses 1.5gb of memory when it's idle, not even during active use. As you can see in my screenshot above, the app never uses that much for me. The maximum I've seen kvaesitso use on my device is 198mb, which I personally feel is acceptable given that location is enabled, weather is enabled, and I have 5 active widgets. But that's the high for me, not average. Please consider this may be device related and not necessarily app related. I acknowledge, there might be a memory leak, but until @MM2-0 responds, we are only guessing as to whether or not they have already done testing for memory leaks. |
@exstntlmsnthrp Yes, around 150-200 MB I'd also consider acceptable. I wonder what takes so much on mine, though. I've got 6 widgets, if you count the clock and Favorites. My device is Pixel 7Pro, running GrapheneOS. Perhaps we need to collect data from users, to see if there is a pattern, if certain devices or ROMs are more susceptible... 🤔 P.S. I left browsers out from my example, because now is common knowledge that browsers chug RAM. And is mostly for running each tab as separate process. But other than browsers, I'm running CAD, 3D modelling, Graphics and Photo editing software. And those are the only ones memory hungry. Everything else is under 300MB. |
I think the biggest part is icons. I don't quite understand why the returned icons have a size of 378x378, but that's about If you want to do your own investigations, you can create a memory dump from Settings > Debug and analyze it in Android Studio (but please don't share the dump, it potentially contains very sensitive data). Anyway, RAM is so cheap these day, it's rarely worth it to optimize for it. |
@derei Interesting, I'm using the same phone. Granted, I'm no longer using Graphene, I had to switch back to stock, because of work. This is only anecdotal, but based on other comments here on GitHub, I'd suspect there may be something related to how Graphene "optimizes" apps and limits what apps can do. Although, as I write this, that doesn't explain why other users on stock also seem to be having a similar issues to you. It's a little confusing. Though what @MM2-0 suggested does make a lot of sense to me. |
About 110Mb. Why is a notification listener using so much memory? Idk how the app works under the hood, but maybe it could only cache one type of icons, depending of the device's dpi, if not already implemented, to lower the memory usage. |
I feel like this fits here, but maybe I should open a new issue? OK so Kvaesitso was using more and more memory and this morning it eventually just crashed. Strack trace
Device infoAPP.VERSION : 1.30.4 |
And I had another OOM crash. Strack trace
|
Kvaesitso uses around 200 Mb of memory.
As of the small size of the app and its natively-coded natures (no heavy VM like electron), I'm not sure wether it's normal or not. Other apps aren't using that much memory (except the system itself or the interface of course).
That may be completely normal, but it looks like a bit strange, and I couldn't find any issue reporting it.
The text was updated successfully, but these errors were encountered: