• 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

funkylogik

share the love peeps ;)
Ill be listnin to music (PowerAmp) so a fairly heavy app on my 1GB memory and daft things like browsing will kill it.
Is there a way i can make it persistant or whitelist it or whatever so that whatever stops, its not my music? (Can tell im not a music user lol)
Thanks :beer:
 
Thanks bud ill have quick read then get back.....
K im installing. descript was vague lol. It WILL let android drop my music player if needed though? just give higher priority? :beer:
 
Ok i had a read and it was one of those i just wanted to leave and move into my "scarybox" folder lol.
Ill have another look with a fresh head tomorrow mate cheers :beer:
 
That's odd. I run PowerAmp and Waze together and both function fine. I run PowerAmp behind all sorts of stuff and it runs fine on my phone. Maybe it's the ROM?
 
Could be chan, theres an Xposed Module someone suggested but havent figured it out yet.
Must be the rom because its only started recently :thumbup:
 
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
 
Cheers mike. What it would actually do is pause playing and i thought that was its way of acting whent ram is low.
Im testing an Xposed module "App Settings" right now, you can select an app and check a box for it to be "resident" n its working so far :-)
 
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?
 
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.
 
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. :o

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.
 
Thanks no im usin a CM based kernel Slug mate. Actually found the sollution deep in poweramp settings. Ill show in next post as AF app STILL wont let me imbed pics lol.........
 
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 ;)
 
Back
Top Bottom