I disable power management on the apps I use often and never run into the issue. Perhaps that might help create a less frustrating experience for you.
post
Using a card on a web site. Verified by Visa web page: "we have emailed you the code". So I go to the email app and get the code. Switch back to the web page. Web page: "what? Who the fuck are you?"
I've got 4 GB of RAM
Sadly that's an almost unusable amount these days. The OS will use half of that just sitting idle, and Google Play Services will use a fifth of the remainder (you can enable Developer Mode and view running services to see this yourself). 4 gigs is solidly in the "only one or two apps open at a time" range.
(It doesn't help that every Android app includes its own separate copies of all its libraries and dependencies for compatibility reasons. There's no such thing as a lightweight app without going out of your way to avoid the normal development ecosystem)
Android also doesn't use swap (storing unused/rarely accessed memory contents on the disk for later), instead shifting stale memory pages to a compressed block in RAM (zram), so once it starts filling up with cached background apps it has to start killing apps or the system will hang. The less RAM you have, the sooner this will happen, and both Lemmy clients and web browsers use a ton of RAM.
Android also doesn’t use swap
Years ago a friend of mine actually enabled swap on a MicroSD. It worked, no idea for how long, though. That type of memory isn't reliable enough to handle this.
Even setting aside the wear and tear issues with flash storage, swap and zram sadly don't play nice together. Zram will fill up with stale memory while swap gets the fresh stuff, which is the exact opposite of what you want and causes awful performance problems.
You think that's bad, I got 12GB of memory and am only ever using 8GB of it, and it still pulls the same shit. Wild.
I've got 8GB and I've never had this problem 🤷♂️
Mishandling an OOM killer event is generally speaking developer error.
To me it looks like sometimes Android is sending KILL instead of TERM. because sometimes it works like it should and sometimes it doesn't. Not just with the one app.
Your phone. Not my phone, so it doesn't seem like an android problem.
Or possibly the apps you are using? I don't think I have ever had this problem.
But that said: I would love to replace it all with a true Linux phone.
But that said: I would love to replace it all with a true Linux phone.
4GB RAM, a modern web browser, and no swap file/partition. That doesn't work well anywhere. Not Android, not GNU/Linux, not Windows, not macOS.
ah today's young ones.... can't imagine a whole computer with less than 128 mb of ram and still being able to multitask better than a phone with 12g of ram
I felt like I should add something to defense side, so I did a quick install of Linux Mint limited to 4GB of RAM, with no swap.

I didn't know what to run, so here's LibreOffice Impress, SuperTuxKart, and Firefox with this Lemmy post open, streaming internet radio, playing 1080p YouTube video, and an additional tab with forum post about forcing software rendering as SuperTuxKart was horribly broken inside the VM.
Fits into the 4GB.
Additionally, just for fun, you can see the RAM usage on my host, also nearing full usage. You may also see a pretty solid benchmark of the VM disk in the screenshot. This is because I installed the VM into tmpfs on the host.
Seems pretty damn usable, even for some multi-tasking.
True, we were running windows 7 with 4gb of ram, gaming with YouTube in the background getting notifications from some Skype with lots of Facebook messages pinging as well and an android would never. Why?
If your lemmy client is Voyager, its not an Android only issue. Happens on iOS as well.
It annoys me that Voyager is smart enough to save my comment text, but not smart enough to save the post URL so it can open back up to the same place.
If ever there was an excuse to switch to a E/os or another legacy android custom ROM like Lineage OS.
Because with only 4GB of RAM you're not going to get the performance you want because the operating system for newer phones takes up so much of that RAM usage.
What you're doing right now seems like you're attempting to push your hardware beyond it's limitations to run software that your phone isn't specced for.
Google generally gets around this by providing a lighter weight version of their OS for bottom tier specced phones with Android GO, and budget phones were a lot of the reason they tried this.
It's either that or, you have settings configured in such a way that when you close certain apps they aren't persistent in memory (which makes sense with a budget phone or a low specced phone) and honestly that could also be Google's fault because of default settings and their propensity for memory leaks.
I would argue that it's not every iteration of android, but I get your point. I don't think you were looking for solutions, but just in case, my comment is here.
4GB ram is enough for a glorified Lemmy/PornHub device. I use a Redmi 4x with 4GB and a snapdragon 435. It's fast enough for modern mobile games (well barely). The only problem is the modern internet with too-much scripts to actually be performant on low-end devices.
Android is mostly problematic if it's a stock operating system, filled with corporate spyware, which makes the device run terribly.
My Redmi was practically useless before installing Lineage OS. Now it's good enough for most things I do.
4GB ram is enough for a glorified Lemmy/PornHub device. I use a Redmi 4x with 4GB and a snapdragon 435. It's fast enough for modern mobile games (well barely).
Not anymore. Phones running Android 15 can get a full version of android rather than the Go variant but Android 16 and above require 6 GB of RAM or you'll have to use the Go variant.
At the end of the day the entire OS has gotten bloated with features and apps have gotten larger and more resource hungry.
On my device I have 5.2GB of RAM currently allocated to "System", and 2.9GB allocated to apps.
Agree about Disclosure Day – what a letdown.
Disagree about Android, but that does suck.
I have 12GB of RAM in my phone (in comparison to 4GB in my mini PC (good enough for XFCE (although the browser will still eat a good chunk))), the only thing that runs realiably is Termux.
But the power management is just shit. My last 2 phones kill the fucking built-in alarm clock. I can set it to unrestricted in settings, I can enable exception in DuraSpeed, or do whatever many steps the current device needs, but at best it's a coin flip whether alarm will work or not.
Honestly, the state of mobile OSs is quite sad. Everything is locked down, it's a duopoly of shit and shittier, and the Linux alternative just isn't daily driver worthy for the vast majority of users. And that's not because the development isn't going well - it's because phones have so much more proprietary shit that needs drivers, and that's if you can even unlock the bootloader in the first place, otherwise you're SOL.
Funny, I switched to Android because iOS was doing shit like this.
I've got 16GB of RAM in mine and it'll still kill my podcast/music/audiobook app that's actively playing content ... I've never had it kill my mBin app though (Interstellar), so, I guess that's nice.
In the version I have (on my Samsung A37) I can exempt certain apps from power management. So that's nice.
I still have some complaints about it, but that particular issue has an answer at least.
I'm increasingly trying to use my (GNU/Linux) laptop where I can, and just tether the phone to it when I need mobile data connectivity.
It's not a complete drop-in solution. You can't just use a laptop with one hand while waiting in a line (well, there used to be palmtops, but those seem to be a mostly-dead class of PCs today). It consumes more power. Desktop OS software doesn't really natively have a concept of "being on WiFi versus being on mobile data", which is nice to have in phone software.
But where you can sit down and use one...man, it eliminates a ton of my irritations with phones. The locked-down stuff in most phone OSes. Those fiddly, limited onscreen keyboards. The tradeoffs that the systems make to try to minimize power use and simplify memory management from an end user standpoint (because a lot of users don't get the concept of closing programs) like the one you mention go away. Hardware is more capable and expandable, and the manufacturers have way more physical space to work with, so you don't have manufacturers throwing out things like physical headphones jacks to try to get a bit more space. The limited cooling on phones goes away. Better in terms of repairability
I just replaced a laptop battery. If my phone's battery died, I'd throw out the phone. Using multiple programs at once, as you were doing, is much better; phone OSes just aren't really optimal for that.
I'm honestly impressed with what smartphone vendors have done within the constraints of what they have to work with, especially in how much better touchscreens have gotten over the decades
they used to be far, far worse. But they still just face a ton of limitations imposed by the form factor.
I’ve got 4 GB of RAM and multiple CPU cores. That should be enough to run a dozen apps in parallel.
In which world is 4GB enough to multitask a web browser under any OS?
You're right. I remember even my Win98 machine had to have 16GB of RAM or couldn't get anything done.
Found the Chromium dev!
But seriously, I've got an old laptop still in use and that's getting along fine on 4 GB. Firefox, KDE, Libre Office, background tasks, some light gaming, no problem.
Usually good programs only take lots of memory when it's available.
Yeah, a lot of programs are just really inefficient.
I've recently been looking around my system to see what's eating my RAM. Mullvad VPN eats around 200MiB because the GUI is using Electron...
But seriously, I’ve got an old laptop still in use and that’s getting along fine on 4 GB. Firefox, KDE, Libre Office, background tasks, some light gaming, no problem.
Let me guess: That old laptop has a swap file or partition?
If you dislike Android so much, get https://commerce.jolla.com/products/jolla-phone-october-2026 Should pair well with your new >1000 Euro Steam Machine.
I would definitely buy a Jolla Phone or it would work in the US.
I might buy it when they actually promised verified boot of some kind.
Also: are they still offering subscriptions instead of selling the os like they're supposed to?
I really want to like this platform, but the security functions (especially for evil maid) are really important with smartphones.
Also: isn't bubblewrap more modern than firejail? Why haven't they switched yet?
I would definitely buy a Jolla Phone or it would work in the US.
It should work there. The problem for you would be no direct shipping to the US.
I feel like this might be the wrong community for this
Although I am mildly infuriated that you hate Android
A bunch of the "fediverse" reacts poorly to this. But, speaking as someone who never even considered Apple, using Android doesn't have to mean it's smart to go into intentional denial of a long list of shit that sucks, just to be a fanboy.
using Android doesn’t have to mean it’s smart to go into intentional denial of a long list of shit that sucks, just to be a fanboy.
No OS can do magic and turn 4GB RAM into a suitable amount for memory hungry modern web browsers.
Although I am mildly infuriated that you hate Android
OP uses 4GB RAM but blames the OS.
Android does need a lot of ram these days especially if you are running stock
I personally wouldn't use a phone with 4GB unless my usecase was fairly basic. If you are running multiple (Heavy) websites and apps the system will need to use swap will slow down multitasking. Chances are they are have a ton of background stuff running and are using apps that use lots of memory
And he's right with that.
Android blew up with Kitkat (4.2) but even then, in 2020 was 6 GB much.
One of the problems is the only official IDE (Android Studio) stuffing every imagibable compatibility library in the apps, because dependency resolution is too hard for them (which is also because of how the OS is structured).
Btw, when i did Android app dev in 2021, i was astounded, that there's MaterialUI and whatnot, but you still had to implement every little detail (button size, dark mode, etc) manually. I guess that's the web dev generation; they don't know it different.
I don't love Android either and would be much happier back on iOS but with everything happening in tech I'll use Graphene until the seas look a bit smoother
Ugh, don't get me started on iOS. Wanted to copy some files onto my daughter's iPad and discovered that it stops the copy operation when you click on the folder that's being copied. Maybe even when you click anywhere, didn't dare test that.
I just wish Nokia had open sourced Maemo. That had everything you need fully working.
nokia did open source maemo and it's still being developed by the community. look up on maemo leste. unfortunately they only support very few phones, including the nokia n900, motorola droid 4 xt894 and the original pinephone.
really hoping i can daily drive that os at some point on some modern powerful hardware
Yes it's a very stupid memory management meant to improve battery life by killing any app thats been running at all...
Very frustrating and idiot.
Try play any game nowadays.... The instant you switch away bam, killed.
It's baked into android. AOSP I mean, any and all android flavours.
Disabling optimization for battery doesn't help with any bigger app.
This wouldn't have occurred to you if you used Summit for Lemmy.
iOS sucks hard in a lot of ways. In a lot of the same ways android sucks, in fact. One way iOS sucks more than android, is that when I tap a button on android, it actually registers the tap on the first attempt, instead of completely ignoring my multiple taps (it's completely bonkers). Memory management is iOS's strong suit, for sure, and android has eons to learn from apple on this. All things considered, the only thing that android has on iOS is its ability to install whatever APK I want. But Google is doing everything to stop this. If/when they do, I will have run out of reasons to stay on android.
All this to say: I get you, I hear you, and I'm here with you. You're not alone.
Edit. Clarification
when you say "every single iteration", does that include stuff like lineageos? Because that's what i've been using for ages and i still struggle to believe how non-shitty it is.
Yes, because this type of memory management is basically at the core of Android. That's why I hate it when Graphene, LineageOS and similar are touted as "Android alternatives".
They are much much better than pure Android or whatever vendors usually slap on their phones. But they are still Android at the core.
I know I’ll get some hate here but never have I run into this sort of issue on IOS even going back to when I got my first new iPhone 4 in 2010. I will say IOS 26 sucked when it launched, but now it’s running pretty well on my 13 mini after all the updates.
Nah. Thats just because the world decided your opinion was shit and didnt need to be shared. Yet here you are sharing it anyway.
top 89 comments