• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[Solved for me] I want to keep my music player in RAM

I think if the music player is active and actually playing music, it should stay in RAM and go on playing music, even if you go off and do something else, except phone calls, but then it should resume playing after the call has finished. If it's stopped that's another matter. I wouldn't really want it to be otherwise, i.e. if I start the browser or do some messaging and the music stops, that would not be satisfactory at all.

A music player shouldn't take too much RAM anyway, it's playing MP3s from storage, plus whatever overhead it might have for the buffer, codec, EQ, processing or whatever.

Might be the ROM you're using FL. Because I know with Samsung phones, and probably pretty much most other Androids, the music player will play in the background and go on playing, as it should, until you stop it. If the music player is still active you should see it as an ongoing task in the notification area, usually in the form of a triangle, meaning it's playing
 
  • Like
Reactions: funkylogik
Upvote 0
Upvote 0
Turns out android knows best. It was too aggressive and other tasks were suffering.
As Chanchan says though, 1gb should be enough to handle a few music players at once.
so is it the rom or kernel thats responsible for memory handling?

It's the Android version of the Linux Out of Memory manager (OOM).

The app I suggested is a sort of Swiss Army Knife for it.

Other OOM adjusters abound but you really, really need to know what you're doing if you want to try one of those.

About OOM priority -

http://madsquirrelapps.com/2010/06/24/what-are-oom-priorities/

See also -

http://www.makeuseof.com/tag/memory-managing-ram-android-phone/

OOM has checkpoints called the minfree settings -

http://www.androidcentral.com/fine-tuning-minfree-settings-improving-androids-multi-tasking

Here's why this all only matters to a few of us -

http://www.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care

Sorry for the delay in getting back to you, hope this helps.
 
Upvote 0
you really, really need to know what you're doing if you want to try one of those

Especially if your device is memory-constrained like an HTC Hero.... a very aggressive" setting is NOT a good idea. Entertaining yes, but not in a good way. :eek:

Does your kernel have any OOM options, Funky? I know some of the S2 ones, such as the Siyah derivatives, have fine-tuning options built-in.
 
  • Like
Reactions: funkylogik
Upvote 0
5ytybupe.jpg

Ok so uncheck the 3rd down, i unchecked the 4th lol, ill see if i get probs.
I think every daft fb or g+ notification was pausing my music so it wasnt getting kicked like i thought. Anyway problem solved thanks peeps ;)
 
  • Like
Reactions: mikedt and Slug
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones