267
you are viewing a single comment's thread
view the rest of the comments
[-] GissaMittJobb@lemmy.ml 12 points 1 week ago

This is correct, and to understand why - mobile operating systems handle application lifecycles differently than desktop operating systems do.

Desktop operating systems generally leave managing application lifecycles entirely up to the user - you will run out of resources by running too many applications simultaneously.

Mobile operating systems are designed from the ground up to conserve resources given their relatively weaker hardware profiles, and applications in the background will mostly gracefully shut down when other applications need their resources. This means apps that you see in the app switcher are not necessarily actually running any more - they may be dead already and get recreated when you switch to them. If you have a keen eye you can tell when this happens as there will be a longer loading time to open the app as compared to if the app is still alive once switched to.

As a general rule, it's not a good idea to manually close apps on the app switcher, as the apps in a backgrounded state can only be opened faster at no real performance penalty - you're actively making your experience worse by doing this.

The exception (applies for Android only, I can't speak for iOS) is apps that show 'persistent' notifications - these are allowed by the system to perform more significant background work, and as such, you should scrutinize apps that do this more than others.

Apps can still start while being closed on the app switcher so you should still not do this, fwiw.

[-] SkunkWorkz@lemmy.world 1 points 1 week ago* (last edited 1 week ago)

Modern desktop OSes like MacOs will dynamically fill up memory to improve performance, since unused memory is wasted memory. And will leave things in memory for as long as possible until something else needs it, then that occupied memory gets freed by pushing a chunk of memory into the swap disk. It’s why if you run MacOs for while the memory gets full, even if you don’t have anything open. But that memory will get freed if you open an application.

this post was submitted on 07 Nov 2024
267 points (96.2% liked)

Funny: Home of the Haha

5699 readers
38 users here now

Welcome to /c/funny, a place for all your humorous and amusing content.

Looking for mods! Send an application to Stamets!

Our Rules:

  1. Keep it civil. We're all people here. Be respectful to one another.

  2. No sexism, racism, homophobia, transphobia or any other flavor of bigotry. I should not need to explain this one.

  3. Try not to repost anything posted within the past month. Beyond that, go for it. Not everyone is on every site all the time.


Other Communities:

founded 1 year ago
MODERATORS