[Q] ram managment - LG G2 Mini

hi everyone
i've been using the d620r version for half a year now and there is a problem i see with the ram managment. the phone just can't keep a few tasks running at once. when i listen to music, or chat with chatheads (fb messenger) and open another app, for example maps, browser, or any game, the system simply closes the music and messenger apps running in the background. and i don't even want to mention the homescreen which reloads everytime i open the simplest app...
i am rooted, and this is what i've tried to do to solve my problems:
deleted lg the bloatware (like lg sync etc)
deleted google bloatware (google search, play games, play music, etc)
played around with auto memory manager (setting really low values so apps would not get killed)
tried to force ongoing notifications using the xposed module app settings
tweaked around with gl tools, to decrease graphics so apps would be lighter
decreased screen resolution using resolution changer pro (this helped but it made the phone and message apps to forceclose)
i even flashed another rom, the crystal PA 8 available here on xda.. this actually helped, there was much less closing, BUT the rom is too unstable and buggy for everyday use...
is there anything else i could do?
thanks a lot

I don't know about any other users but root takes something from performance, at least here (D618). What I suggest is: flash back stock, full wipe (KDZ), root but don't heavily use apps that require root, don't use a lot of xposed modules and etc. Hope it helps.

bombaglad said:
hi everyone
i've been using the d620r version for half a year now and there is a problem i see with the ram managment. the phone just can't keep a few tasks running at once. when i listen to music, or chat with chatheads (fb messenger) and open another app, for example maps, browser, or any game, the system simply closes the music and messenger apps running in the background. and i don't even want to mention the homescreen which reloads everytime i open the simplest app...
i am rooted, and this is what i've tried to do to solve my problems:
deleted lg the bloatware (like lg sync etc)
deleted google bloatware (google search, play games, play music, etc)
played around with auto memory manager (setting really low values so apps would not get killed)
tried to force ongoing notifications using the xposed module app settings
tweaked around with gl tools, to decrease graphics so apps would be lighter
decreased screen resolution using resolution changer pro (this helped but it made the phone and message apps to forceclose)
i even flashed another rom, the crystal PA 8 available here on xda.. this actually helped, there was much less closing, BUT the rom is too unstable and buggy for everyday use...
is there anything else i could do?
thanks a lot
Click to expand...
Click to collapse
make swap in cache partition because its so dumb to have that much free memory
and thats why apps are being killed

thanks for your opinion. actually, this problem occured even before i rooted the phone. right now, i'm back to stock. i hoped that maybe i could expand my ram using rohesoft swap expander but our kernel is not supported and i couldn't find any custom ones...

sebatox said:
make swap in cache partition because its so dumb to have that much free memory
and thats why apps are being killed
Click to expand...
Click to collapse
kernel doesn't support swap

oooh i was sooo wrong... the cache swap file works perfectly, the phone is much much smoother now
if anyone is experiencing the same issue, just download ram expander, choose the swap file location to cache and enjoy

Related

SGS3 (i9300 Europe) on XXDLIB closes minimized apps

Hi.
First: I haven't found a thread which is only meant for my problem.
So: As written above, I'm on XXDLIB, but this behaviour is there in earlier JB releases, too (all WanamLite).
When I minimize an app (means: press home button in an app) it won't stay there long. It will be closed after a (volatile) period of time.
Example: I'm navigating and want to read something in (stock) browser. I read and minimize this app too.
I'll go back to navigation.
Afterwards I want to read my opened page (which should be in browser) and waht happens: the browser reloads the page and hasn't been listed in task manager (hold home button, left side).
So it has been closed.
First i thought that this is a out of memory issue. So I removed many apps that I don't need from /system/app and observed the memory usage then.
Same scenario as mentioned above: Navigation (Navigon) is opened, I open the browser, finish my navigation... and .. the browser is closed again.
This is vice versa: when I minimize my navigon app and use the browser for.... let's say 3 to 4 minutes the app will be closed.
Then I got deeper into it. I opened FM radio, browser, WhatsApp and evernote and minimized them, before I slept. No app with that great memory usage I would say.
But at morning ALL apps are closed.
For short: I HATE it. When I want to have my browser opened, it should be opened until I want to close it.
Sometimes I minimize my navigon app and I only need audio orders... unusable now, because the app closes very fast...
Same for browser: It eats my monthly provided data, because it reloads the last viewed page (its not reloaded from cache; with flight mode enabled there is only an error page).
It's no memory issue I would say. After opening all these mentioned apps I have more than 230 MB of free ram.
I know that wanam adds a modified services.jar with some kind of 'memory optimization script/code' from XDA devs.
But as far as I understand it, it should not lead to any closed apps.
As far as I can see, this problem is 'new' since JB (AOS 4.1.1).
In 4.0.4 it hasn't been there.
Anyone with the same problem?
Stock or mod?
Any suggestions?
I'm missing my S2... never had this kind of problems there...
Greetings,
Mario
EDIT: I'm using the newest apex launcher (free). I don't know if this could be important.
The issues you describing are present big time in ICS also. That's what I hate this phone.
I don't even think this is a Galaxy S III issue. It seems to be more of an issue with Android itself. I've noticed things like this with the pure stock android Galaxy Nexus and even on the US Galaxy S III which has a total of 1.6gb of ram available.
Mine keeps it in memory and when I return to it is still there as I left not re-started. In fact I just opened xda app after not using all day today but using many other apps it was still on the last thread I was reading. I'm running stock but rooted.
It's all about the RAM. More precisely about the amount of available RAM.
Get the free app 'Advanced Tools', go to 'options' and tick 'Root functions'.
Then go to 'System'->'System Manager'->LMKiller and configure the values.
They are thresholds, meaning that if this amount of total available RAM (disk cache deduced) has been reached, it will start killing apps off to free at least enough Ram to go above the threshold again. Lowering the values means it will only do it much later.
Make sure that you don't lower them too far, since a device running low on RAM uses the OOM-Killer to kill apps regardless of their status.
It should help to set the Dalik heap size to 128MB too, but some side effects with large games/apps have been reported.
I have also realised this problem as someone who comes from Samsung Galaxy S 2. Now I am on Omega Rom v27 and use hard swap, I should not be having this problem but no, I see that many apps are closed by system although I have huge ram available after some time. There must be a way to deal with it; I play with auto memory kill settings but have not seen a difference so far.
Regards
GT-I9300 cihazımdan Tapatalk 2 ile gönderildi
This is an Android issue even with GB, if the phone runs out of memory for the foreground process, it closes other processes in order to free up memory. However, what you're talking about (web browsing) if you're using Chrome I believe this is a chrome thing (does the page get greyed out?) Happens to me even if I leave the page on. For example:
Browsing, put phone aside, the phone automatically locks, as I unlock it does that. Doesn't bother me much though, as long as the page loads again normally. I haven't had any issue with the S3 concerning closing other applications for the foreground one.
d4fseeker said:
It's all about the RAM. More precisely about the amount of available RAM.
Get the free app 'Advanced Tools', go to 'options' and tick 'Root functions'.
Then go to 'System'->'System Manager'->LMKiller and configure the values.
They are thresholds, meaning that if this amount of total available RAM (disk cache deduced) has been reached, it will start killing apps off to free at least enough Ram to go above the threshold again. Lowering the values means it will only do it much later.
Make sure that you don't lower them too far, since a device running low on RAM uses the OOM-Killer to kill apps regardless of their status.
It should help to set the Dalik heap size to 128MB too, but some side effects with large games/apps have been reported.
Click to expand...
Click to collapse
Thanks. I will have a look - but I would say, its now memory issue, because of the free ram that is left.
Heapsize is at 128 MB, heapgrowlimit too. I played around with these values. Nothing helped.
I'll give a report tomorrow.
EDIT: On stock the heapsize is 256m. Why should someone *lower* this value, like wanam?
Any idea? I'm no programmer...
Removing the bloat helped here a lot and that change in the build.prop from 256 to 128m.
Delete kiesexe from system/bin if you don't use kies. Freeze all the Samsung applications and services. Finally don't use Supercharger.
Swyped on I9300 - XXDLIB - Siyah kernel - JKay & Thunderbolt tweaks.
To me, it happens randomly. Sometimes the browser just show the same page without reload even after a few days! But sometimes it just reload after receiving a call!!!
Is not big problem on a daily usage but is very very big problem when I'm downloading something and have to worry about incoming call.
Sent from my GT-I9300 using xda app-developers app
hey guys, it makes me miss my little "Eclair" or "Froyo" phone...
a phone with this huge capabilities can't have this type of issue...
im getting this issue when im playing and need to change a track in song player...
then it always restart the game and it sucksssssssssssssss!!!!! ;/
So, thank you all.
I increased heapsize to 276. Now the apps are hold longer in memory.
I observed something strange: When I use flight mode, apps are closed too... but thats ok.
im playing Football Manager Handheld
and it closes everytime too...
cant handle this!!!!
i want a phone that does the things correctly.....so sad!!
Ya this is really sad!!
We keep on saying how Android does true multitasking and all, but at the end of the day it's not getting done what we want to.
I was downloading Shadowgun the other night, and after about 50%, I got a msg so I pressed home button to go to the Msg app and then:
1) Home Redraw ..grrrrrrrrrrrr.
2) I replied back to text and opened the Shadogun from Recent Apps and the downloading had stopped.
Had to start it again.
WTF??
Why does android not kill the other useless cached things which is taking upto 300-400 mb ram.
Why does it have to kill Launcher and the latest foreground operation??? The worst kind of management ever!!
Why doesn't it kill Maps instead of Launcher. I've not touched maps in two days and it takes about same ram as my Launcher does??
It has got the sorting all wrong...I hate it...
I don't know how it is in iOS, but it couldn't be worse
d4fseeker said:
It's all about the RAM. More precisely about the amount of available RAM.
Get the free app 'Advanced Tools', go to 'options' and tick 'Root functions'.
Then go to 'System'->'System Manager'->LMKiller and configure the values.
They are thresholds, meaning that if this amount of total available RAM (disk cache deduced) has been reached, it will start killing apps off to free at least enough Ram to go above the threshold again. Lowering the values means it will only do it much later.
Make sure that you don't lower them too far, since a device running low on RAM uses the OOM-Killer to kill apps regardless of their status.
It should help to set the Dalik heap size to 128MB too, but some side effects with large games/apps have been reported.
Click to expand...
Click to collapse
Best reply in this thread. I have these settings :
LMkiller: 32/40/48/56/64/72
dalvik.vm.heapsize=256m
To fix launcher redraws, change it's OOM value. Supercharger V6 can help with that. Also debloated ROMs help a lot
j0ep0 said:
Best reply in this thread. I have these settings :
LMkiller: 32/40/48/56/64/72
dalvik.vm.heapsize=256m
To fix launcher redraws, change it's OOM value. Supercharger V6 can help with that. Also debloated ROMs help a lot
Click to expand...
Click to collapse
This is where Apple wins and Samsung fails.
So much just to make your phone smoothly, something Samsung should have done and not the user.
j0ep0 said:
Best reply in this thread. I have these settings :
LMkiller: 32/40/48/56/64/72
dalvik.vm.heapsize=256m
this settings will solve the problem????
if so, how to set up?????
Click to expand...
Click to collapse

Why do apps I don't have open consuming 20MB of ram each, and significant CPU time?

Hello!
I installed ES task manager today on my new Nexus 7 and I was shocked to see that several apps are consuming 20mb+ of RAM when I don't even have them open, such as Titanium Backup, Facebook Messenger, PIE Controls, Auto Hide Softkeys. Even apps like YouTube, Gallery, Chrome, Currents and Hangouts seem to be running and using RAM and I have never opened any of these applications before. The actual app switcher shows that I have no apps open, yet ES Task Manager reports that 25% of my CPU is being used. All in all, an almost fresh install of Android idling is consuming 1GB of ram and 1/4th of my CPU time.
I have Googled this issue and discovered that many people are annoyed at developers who have background services, and sometimes even refuse to use an app that has such background services, but I haven't been able to discover why these background services use so much RAM (or even why titanium needs a background service), and I would really like to be able to just kill Chrome, Youtube, Currents etc because I never use these, but of course when I kill them in ES Task Manager they re-open within several minutes.
Can anybody shed some light on what's going on here? From what I can gather after searching around the forums, some people advocate the use of task killers, and some people also say killing all these services and apps just makes battery life even worse.
Edit: google+ is using 20mb of ram and I never even use it-- why!
If you are rooted you can use apps like Greenify to pause them temporarily until you run them. You can also use apps like Clean Master that will kill all task on every screen off. Ultimately you can remove these apps that are taking up a lot of ram as the best solution.
youngnex said:
If you are rooted you can use apps like Greenify to pause them temporarily until you run them. You can also use apps like Clean Master that will kill all task on every screen off. Ultimately you can remove these apps that are taking up a lot of ram as the best solution.
Click to expand...
Click to collapse
Wow, didn't know something like greenify existed, thank you!

[Guide] Make Xperia U ICS 4.0.4 Nearly Fast as Gingerbread

in This Guide i will show you have i've speeded up my Xperia U After ICS 4.0.4 Update
You'll won't Get the same speed you get with Gingerbread, But it's good to speed it up
1. Do NOT Use Live Wallpapers, it Uses RAM and CPU
2.Go to Settings>Developer Options and Check Force GPU Rendering ( your Phone might get Unstable with this), Then Scroll Down and Set "Background Process Limit" to "2" ( Don't Worry you'll still receive whatsapp, Viber, etc. Messages) (YOU'LL HAVE TO DO THIS EVERY BOOT)
3.Go back to Home and Go to Settings>Apps>"All" And Disable these:
Talk (Updated to Hangout)
Google+
Friend's Music
FBiX Music Likes
FBiX Calendar Sync
Facebook extension
Facebook | There's two apps with same name, disable both!
Email
Chrome
( Not all Apps Might be Slowing Down Things but this is what best suited for me)(The Most Important apps are: Chrome, Facebook,Google+ and Hangouts)(You Might not See Disable Option, Uninstall Updates First)
4.Install Only Necessary Apps ( Whatsapp, Viber, Skype, etc.) and Avoid installing apps that run in background or use alot of RAM & Use Stock apps, for Example if you Prefer VLC Player to Play Music, Delete it and Use the Stock Player
5.Disable all apps found in Performance assistant
6.Don't use alot of Widgets, Close apps when you don't need them, Restart your Phone from Time to Time
IMPORTANT THING: IF YOU UPGRADED TO ICS AND DIDN'T DO FACTORY RESET IT'S EXTREMELY SLOW, DO FACTORY RESET, HUGE DIFFERENCE!!
For me i have 33 Apps installed and Most Time the RAM is 100MB Free and Worst Won't be less than 60-70 MB Free​
User specific guide. Not suited me at all. Though nice efforts
Sent from my LT22i using Tapatalk
waqar89 said:
User specific guide. Not suited me at all. Though nice efforts
Sent from my LT22i using Tapatalk
Click to expand...
Click to collapse
Appearance vs. Performance
This Guide is for guys looking for Performance aside from Appearance, And FB apps and Google+ and Talk might Be Important to Some, and Others not!
yousefs said:
Appearance vs. Performance
This Guide is for guys looking for Performance aside from Appearance, And FB apps and Google+ and Talk might Be Important to Some, and Others not!
Click to expand...
Click to collapse
That what I said!
Sent from my LT22i using Tapatalk

[Q] RAM usage (memory leak/background RAM clearing)

Planning on buying the 4G model, but I'm a bit worried because it's got only 1GB RAM.
Is it enough? How much RAM is free on boot? Will it slow down/ clear apps if I use FB messenger, reddit, soundcloud and chrome? Not looking at running 5+ apps in the background, so will it do?
For me it is enougth, the only apps with usually the phone closes itself are games, everyone else didnt
JuanAG said:
For me it is enougth, the only apps with usually the phone closes itself are games, everyone else didnt
Click to expand...
Click to collapse
Do you multitask? How's the performance with 3-4 apps open?
I'm not a big multitasker, but I do cycle through apps a lot. Like I'll browse Facebook, then G+, then Twitter, then some websites, then maybe play a game or two. Even with heavy apps like Facebook and Clash of Clans recently open when I check the RAM I usually have around 34% free, and the phone is not sluggish. The only thing I do a lot is after I'm done with what I did I clear all apps from the recent apps menu. I don't like how 5.x stores so many snapshots of all the things I did. I like the old 4.x way where it only showed what apps you used, and not the exact place. I think if the phone slows down it's because of too many snapshots in the recent apps since it's holding all those in memory. Clear those, and the phone should get snappy again.
With the sotck rom i usually do because it doesnt have the clear all button like CM and it is very responsive and works fine, the unique apps who are disposed of the ram are games basically, firefox for example doesnt and it is a heavy app
I am happy, it is enough fast for me and i played so far everything i want
I am not happy. Usually my phone always have 200MB free ram but it closes simple applications as music players.
I was discussing that in this topic http://forum.xda-developers.com/moto-e-2015/help/bug-music-players-suddenly-close-t3114383

Apps keep closing on galaxy S3

Hello, I have a really frustrating problem with my galaxy S3.
All apps are closing when I am using them.
It started with Google Chrome that was closing after browsing the web for a few minutes but more and more apps keep closing.
I installed many different web browsers but they all do the same, they freeze and close.
Games and other demanding apps are also doing this, for example: Real Racing 3.
I am running Android 5.1.1 Cyanogenmod and I already tried multiple roms that all had this problem. (All clean installs and I did a factory reset before and after the flashing)
I was thinking of a ram issue (the s3 only got 1gb) I checked the ram usage and there is always about 200mb free ram.
Using Greenify didn't make the apps crash less but it did give me a battery boost.
I don't know anything about the kernel ram settings and I don't know if this can solve the issue.
Is there someone with the same problem or does someone know how to solve this?
Thank you in advance.
edit: i also tried freezing all user apps that are active in the background
I found a sort of solution to my problem, I downloaded the app: Lspeed and I did set the ram preset on "game mode".
Background apps close so I won't get any notifications but I can play games or use heavy apps.
It is not the best solution but I will have to deal with it due to the 1gb ram.

Categories

Resources