And I don't mean just Google's Android. Every single iteration. With their stupid memory management for PoWeR sAvInG.

I was typing up a rant on how incredibly boring and stupid Disclosure Day was when I just quickly switched to Firefox to look up a character's name when Android decided that I was done using my Lemmy client and just outright killed it without even giving it enough time to save my comment to drafts, like it usually does.

You can never be sure when you leave an app whether it will continue doing what it's supposed to or if it will be frozen or killed.

I've got 4 GB of RAM and multiple CPU cores. That should be enough to run a dozen apps in parallel. My frickin N900 with 128 MB had better multitasking than a modern Android smartphone!

top 89 comments

sorted by: hot top controversial new old
[–] 55 points 3 months ago (26 children)

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.

  • source
  • hideshow 26 child comments
  • [–] 13 points 3 months ago (22 children)

    I disable power management on the apps I use often and never run into the issue.

    Power management does nothing when RAM is as constrained as 4GB

  • source
  • parent
  • hideshow 22 child comments
  • [–] 4 points 3 months ago (20 children)

    the question is: why do two, not even three, apps consume all of the 4gb?

  • source
  • parent
  • hideshow 20 child comments
  • [–] 6 points 3 months ago

    the question is: why do two, not even three, apps consume all of the 4gb?

    Mozilla had to fire a big part of their browser engineering team to raise the salary of their CEO. That's how FF is less optimized.

  • source
  • parent
  • [+] 5 points 3 months ago (18 children)
  • [–] 1 point 3 months ago (17 children)

    yes i know that obviously. But what do modern oses do more than they did with the memory limitations back then? They serve you more ads and they convince that taking up literally half of your memory and not even leaving enough resources for two apps is somehow necessary, when older computers hosted the os and the apps comfortably in a tiny fraction of that.

  • source
  • parent
  • hideshow 17 child comments
  • [+] 1 point 3 months ago* (16 children)
  • [–] 1 point 3 months ago (15 children)

    read the op's complaint. And all those extra services shouldn't need gb of ram anyway.

  • source
  • parent
  • hideshow 15 child comments
  • [+] 1 point 3 months ago* (last edited 3 months ago) (14 children)
  • [–] 1 point 3 months ago (13 children)

    the fact that systems exist which don't, but still do the same things

  • source
  • parent
  • hideshow 13 child comments
  • [+] 1 point 3 months ago (12 children)
  • [–] 1 point 3 months ago* (11 children)

    my pc at home, which doubles as a server, which runs plex, qbittorrent and other stuff, idles at about 1.5 to 2 gigs. While signed in to kde

    The phone i am typing this on is currently sitting at just under 5gigs in use, jerboa is the only open app.

  • source
  • parent
  • hideshow 11 child comments
  • [+] 1 point 3 months ago* (last edited 3 months ago) (10 children)
  • [–] 1 point 3 months ago (9 children)

    my pc also has a full networking stack, just like the phone. And it has a bunch of services running. And i didn't count cached memory for either, just what is in use at the moment.

    If you had 64gigs of ram you'd want 60+ to be used as cache, not to be "in use". And i force closed all apps except the one I'm using to write this comment.

    Why is it so hard for you to believe stuff is bloated and can actually be significantly more efficient?

    My phone doesn't have all the services my pc has either...

  • source
  • parent
  • hideshow 9 child comments
  • [+] 1 point 3 months ago (8 children)
  • [–] 2 points 3 months ago (7 children)

    in my laptop, not my pc, but yes. And it doesn't make a difference. It needs a couple of megabytes of ram. Not gigabytes. A cellular modem does its thing in its own firmware, the driver side is tiny in comparison.

    When you work in embedded stuff with kilobytes of ram, you learn to appreciate just how much a little memory could go. Yes, I do know, this shit is my bread and butter

  • source
  • parent
  • hideshow 7 child comments
  • [+] 0 points 3 months ago (6 children)
  • [–] 2 points 3 months ago (5 children)

    well actually, yes we do know, by actually checking. You cannot guarantee anything.

  • source
  • parent
  • hideshow 5 child comments
  • [+] 1 point 3 months ago (4 children)
  • [–] 2 points 3 months ago (3 children)

    What do you think they're doing that requires gigabytes of ram?

    Thinking having a cellular connection is significantly any more memory intensive than a wifi or ethernet connection tells me that it's you who doesn't have the faintest idea of anything. You're projecting

  • source
  • parent
  • hideshow 3 child comments
  • [+] 1 point 3 months ago (2 children)
  • [–] 4 points 3 months ago

    Adding, I disabled all background access to all of the programs I don't regularly use / expect to return to.

    Only like 5 apps have any background access and they never get auto-cleared.

    Between that and GOS letting me block network access to apps that really shouldn't need it, my battery lasts for days.

  • source
  • parent
  • [–] 42 points 3 months ago (1 child)

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

  • source
  • hideshow 1 child comment
  • [–] [S] 10 points 3 months ago

    I've also switched from the web browser to my password manager with the password manager integration and as soon as I've chosen the password it goes back to the browser and it reloads the page without filling in the frickin password.

  • source
  • parent
  • [–] 28 points 3 months ago* (2 children)

    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.

  • source
  • hideshow 2 child comments
  • [–] 7 points 3 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 26 points 3 months ago (2 children)

    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.

  • source
  • hideshow 2 child comments
  • [–] 17 points 3 months ago (2 children)

    Mishandling an OOM killer event is generally speaking developer error.

  • source
  • hideshow 2 child comments
  • [–] [S] 2 points 3 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 26 points 3 months ago* (6 children)

    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.

  • source
  • hideshow 6 child comments
  • [–] 15 points 3 months ago (5 children)

    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.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 3 points 3 months ago (2 children)
  • [–] 10 points 3 months ago* (last edited 3 months ago)

    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.

  • source
  • parent
  • [–] 3 points 3 months ago

    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?

  • source
  • parent
  • [–] 24 points 3 months ago

    If your lemmy client is Voyager, its not an Android only issue. Happens on iOS as well.

  • source
  • [–] 9 points 3 months ago

    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.

  • source
  • [–] 16 points 3 months ago (2 children)

    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.

  • source
  • hideshow 2 child comments
  • [–] 6 points 3 months ago* (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 3 months ago

    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.

    https://m.gsmarena.com/here_are_googles_new_minimum_ram_and_storage_requirements_for_android_phones-news-67387.php

  • source
  • parent
  • [–] 7 points 3 months ago*

    Agree about Disclosure Day – what a letdown.

    Disagree about Android, but that does suck.

  • source
  • [–] 7 points 3 months ago

    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.

  • source
  • [–] 7 points 3 months ago (1 child)

    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.

  • source
  • hideshow 1 child comment
  • [–] 12 points 3 months ago (1 child)

    Funny, I switched to Android because iOS was doing shit like this.

  • source
  • hideshow 1 child comment
  • [–] 6 points 3 months ago

    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.

  • source
  • [–] 5 points 3 months ago

    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.

  • source
  • [–] 4 points 3 months ago

    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.

  • source
  • [–] 10 points 3 months ago (8 children)

    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?

  • source
  • hideshow 8 child comments
  • [–] 7 points 3 months ago (1 child)

    You're right. I remember even my Win98 machine had to have 16GB of RAM or couldn't get anything done.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 8 points 3 months ago

    I remember even my Win98 machine had to have 16GB of RAM or couldn’t get anything done.

    Try to get a modern web browser working on your Win98 machine. The problem is modern web browsers eating RAM, not Android.

  • source
  • parent
  • [–] [S] 5 points 3 months ago (5 children)

    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.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 0 points 3 months ago (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 3 months ago (2 children)

    I would definitely buy a Jolla Phone or it would work in the US.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 3 months ago* (last edited 3 months ago)

    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?

  • source
  • parent
  • [–] 10 points 3 months ago* (7 children)

    I feel like this might be the wrong community for this

    Although I am mildly infuriated that you hate Android

  • source
  • hideshow 7 child comments
  • [–] 9 points 3 months ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 3 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 3 months ago (2 children)

    Although I am mildly infuriated that you hate Android

    OP uses 4GB RAM but blames the OS.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 3 months ago*

    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

  • source
  • parent
  • [–] 1 point 3 months ago* (last edited 3 months ago)

    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.

  • source
  • parent
  • [–] 6 points 3 months ago* (last edited 3 months ago) (3 children)

    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

  • source
  • hideshow 3 child comments
  • [–] [S] 5 points 3 months ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 3 months ago (1 child)

    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

  • source
  • parent
  • hideshow 1 child comment
  • [–] 6 points 3 months ago

    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.

  • source
  • [–] 3 points 3 months ago (1 child)

    This wouldn't have occurred to you if you used Summit for Lemmy.

  • source
  • hideshow 1 child comment
  • [–] 4 points 3 months ago*

    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

  • source
  • [–] 2 points 3 months ago

    Sorry to hear that

  • source
  • [–] 2 points 3 months ago (1 child)

    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.

  • source
  • hideshow 1 child comment
  • [–] [S] 1 point 3 months ago

    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.

  • source
  • parent
  • [–] 1 point 3 months ago

    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.

  • source
  • [–] -4 points 3 months ago (1 child)

    Nah. Thats just because the world decided your opinion was shit and didnt need to be shared. Yet here you are sharing it anyway.

  • source
  • hideshow 1 child comment