Related
So I'm sure we all know about launcher redraws and such, how to reduce such issues? My BL is unlocked but I'm enjoying doomkernel and don't want to take the plunge into CM just yet
Sent from my C5303 using Tapatalk
@non4 said:
So I'm sure we all know about launcher redraws and such, how to reduce such issues? My BL is unlocked but I'm enjoying doomkernel and don't want to take the plunge into CM just yet
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
You can try using Clean Master.Recently a user had problem with ram management(especially when playing games) and clean master fixed his issue.You should also try it or wait for android 4.3 and hope for a better ram management :fingers-crossed:
UltraWelfare said:
You can try using Clean Master.Recently a user had problem with ram management(especially when playing games) and clean master fixed his issue.You should also try it or wait for android 4.3 and hope for a better ram management :fingers-crossed:
Click to expand...
Click to collapse
I installed the 4.3 leak already, at least I haven't parted with stock completely thanks anyway
Sent from my C5303 using Tapatalk
UltraWelfare said:
You can try using Clean Master.Recently a user had problem with ram management(especially when playing games) and clean master fixed his issue.You should also try it or wait for android 4.3 and hope for a better ram management :fingers-crossed:
Click to expand...
Click to collapse
I tried clean master yesterday but the result was not great... I search some tuto about how to use it and if I understand well, it's just a task killer.
I also tried an experiment : I enabled the little widget (in clean master) which show the percentage of RAM used in real time, then I opened a game (dear hunter 2014).
After 1 minute in the game, the percentage of RAM used (if the information of clean master is exact) was 67% and suddenly, the widget disappeared : I think all the app in background had been closed. So why? It shouldn't happend because a lot of RAM was free.
And finally, even with all app in background killed, after 2/3 minutes, I have a FC in the game...
So if someone has an idea/theory about what happen with RAM management, I would be very happy to know!
Informations :Xperia SP Rooted, BL Locked, ROM : Existenz 1.3.7.
Jamprojekt said:
I tried clean master yesterday but the result was not great... I search some tuto about how to use it and if I understand well, it's just a task killer.
I also tried an experiment : I enabled the little widget (in clean master) which show the percentage of RAM used in real time, then I opened a game (dear hunter 2014).
After 1 minute in the game, the percentage of RAM used (if the information of clean master is exact) was 67% and suddenly, the widget disappeared : I think all the app in background had been closed. So why? It shouldn't happend because a lot of RAM was free.
And finally, even with all app in background killed, after 2/3 minutes, I have a FC in the game...
So if someone has an idea/theory about what happen with RAM management, I would be very happy to know!
Informations :Xperia SP Rooted, BL Locked, ROM : Existenz 1.3.7.
Click to expand...
Click to collapse
The little widget dissapears when a fullscreen app is being used..It continues in background.
@non4 said:
I installed the 4.3 leak already, at least I haven't parted with stock completely thanks anyway
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
ram management in 4.3 leak seems like not working. as ram drops to as low as 14mb.
panjgoori said:
ram management in 4.3 leak seems like not working. as ram drops to as low as 14mb.
Click to expand...
Click to collapse
That is probalby because it's a leak, only meant for testing
UltraWelfare said:
The little widget dissapears when a fullscreen app is being used..It continues in background.
Click to expand...
Click to collapse
I'm not sure we are talking about the same "widget". I'm talking about the option "flotting widget". And yes, it is supposed to stay all the time on screen (and by the way it stayed a minute aproximatly).
Jamprojekt said:
I'm not sure we are talking about the same "widget". I'm talking about the option "flotting widget". And yes, it is supposed to stay all the time on screen (and by the way it stayed a minute aproximatly).
Click to expand...
Click to collapse
Check clean master settings or install battery doctor
UltraWelfare said:
Check clean master settings or install battery doctor
Click to expand...
Click to collapse
Thank you for the answer and the idea.
But I really would understand what happen with the RAM.
Before, I used LMT Launcher (pie control) and the same thing happened: LMT was killed after 1 minute in the game.
To sum up: I have 300mb RAM free, I open the game and then all app are killed. And I don't understand why. The game don't use more than 300 mb RAM no?
Plus, this problem don't happen with my brother's galaxy tab 3 (1Gb RAM too).
Jamprojekt said:
Thank you for the answer and the idea.
But I really would understand what happen with the RAM.
Before, I used LMT Launcher (pie control) and the same thing happened: LMT was killed after 1 minute in the game.
To sum up: I have 300mb RAM free, I open the game and then all app are killed. And I don't understand why. The game don't use more than 300 mb RAM no?
Plus, this problem don't happen with my brother's galaxy tab 3 (1Gb RAM too).
Click to expand...
Click to collapse
First of all you can click the thanks button .That's why it is there to shorten the length of telling thanks.Back to our point.
LMT things that your game is eating a lot ram and doesn't know if you are really using it.So it kills it to save up ram.
Each games uses different amount of ram.Like a 2d game would use 50mb ram and a 3d game may use 100mb of ram.
It depends on.Xperia SP has a bad ram management for now and onwards to the next version (4.3) it will be fixed a lot.
The rollout starts early Feb / ends of Jan...You can wait a little can't you?
UltraWelfare said:
First of all you can click the thanks button .That's why it is there to shorten the length of telling thanks.Back to our point.
LMT things that your game is eating a lot ram and doesn't know if you are really using it.So it kills it to save up ram.
Each games uses different amount of ram.Like a 2d game would use 50mb ram and a 3d game may use 100mb of ram.
It depends on.Xperia SP has a bad ram management for now and onwards to the next version (4.3) it will be fixed a lot.
The rollout starts early Feb / ends of Jan...You can wait a little can't you?
Click to expand...
Click to collapse
Of course I can wait but I'm afraid that it won't be better in the future (the leak of 4.3 don't improve this point obsviously even with more free RAM).
Jamprojekt said:
Of course I can wait but I'm afraid that it wan't be better in the future (the leak of 4.3 don't improve this point obsviously even with more free RAM).
Click to expand...
Click to collapse
Days pass devs improve...We don't know what they will bring ...I will find some more apps to free your ram later on but until the devs won't fix it you will have bad ram management(Not only you)
UltraWelfare said:
Days pass devs improve...We don't know what they will bring ...I will find some more apps to free your ram later on but until the devs won't fix it you will have bad ram management(Not only you)
Click to expand...
Click to collapse
you could also use greenify (with xposed features) and fast reboot before playing a game. works like a charm to me
Nanostray said:
you could also use greenify (with xposed features) and fast reboot before playing a game. works like a charm to me
Click to expand...
Click to collapse
Nanostray you are a magician.I totally forgot greenify(even though i have it installed)
UltraWelfare said:
Nanostray you are a magician.I totally forgot greenify(even though i have it installed)
Click to expand...
Click to collapse
If you need a really powerful combination, put the hibernate-shortcut together with the fast reboot app on the same homescreen. Then first use the fast reboot (system apps etc) and then use greenify (all other apps, including fast reboot).Instant 300mb+ RAM (with my phone)
Nanostray said:
If you need a really powerful combination, put the hibernate-shortcut together with the fast reboot app on the same homescreen. Then first use the fast reboot (system apps etc) and then use greenify (all other apps, including fast reboot).Instant 300mb+ RAM (with my phone)
Click to expand...
Click to collapse
So only 400mb are being used from the device?
UltraWelfare said:
So only 400mb are being used from the device?
Click to expand...
Click to collapse
I'm not sure, but the first 5 minutes after the killing, free RAM is usually 350-360mb
Nanostray said:
I'm not sure, but the first 5 minutes after the killing, free RAM is usually 350-360mb
Click to expand...
Click to collapse
Then how is it possible that Chrome kills music player? My Desire X has 768 mb ram and can keep both running (on a heavy sense rom)
GtrCraft said:
Then how is it possible that Chrome kills music player? My Desire X has 768 mb ram and can keep both running (on a heavy sense rom)
Click to expand...
Click to collapse
No clue mate, better drivers maybe?
hi everyone i want to know how to free more ram in stock rom when i restart its almost 700mb ram usage and after normal use its goes to 1200mb but i want free memory like my nexus 4 which use ram 350mb to 700mb max please help me guys
pradatta said:
hi everyone i want to know how to free more ram in stock rom when i restart its almost 700mb ram usage and after normal use its goes to 1200mb but i want free memory like my nexus 4 which use ram 350mb to 700mb max please help me guys
Click to expand...
Click to collapse
My RAM usage is about that high, 700mb. But since the Z1 has about 1.6 gb of RAM, you shouldn't really worry. If it does get to the point where apps stop working or services become unresponsive, restart the phone or kill the app that's using the RAM. I believe when your RAM usage is about 1.5 GB it starts becoming a bit unresponsive.
Nexus uses less RAM because it only has stock apps. Sony has their own software running in the background along with some of Google's apps.
kentexcitebot said:
My RAM usage is about that high, 700mb. But since the Z1 has about 1.6 gb of RAM, you shouldn't really worry. If it does get to the point where apps stop working or services become unresponsive, restart the phone or kill the app that's using the RAM. I believe when your RAM usage is about 1.5 GB it starts becoming a bit unresponsive.
Click to expand...
Click to collapse
ya actually u r right but this is not related mobile lag or hang i just want my mobile should use less ram so i m searching for that kind of answer any way u really help me with ur fast reply thanks:good:
You have to be rooted and delete all the unnecessary application which working in background.
eclyptos said:
You have to be rooted and delete all the unnecessary application which working in background.
Click to expand...
Click to collapse
i have rooted device and how to know which app i should delete from background ?
pradatta said:
ya actually u r right but this is not related mobile lag or hang i just want my mobile should use less ram so i m searching for that kind of answer any way u really help me with ur fast reply thanks:good:
Click to expand...
Click to collapse
That doesn't makes sense. As long as your device isn't unresponsive or laggy you shouldn't bother about RAM-Usage. Android handles your available Memory quite well.
Try looking at it like this:
There isn't any use in having more and more RAM, if people on the other hand go and try to keep the RAM-usage low. As long as you don't have problems (lags or such) having free RAM is just eyecandy.
Additionally:
For every app killed, Android needs to load it from storage the next time, resulting in more battery drain than just letting it idle in memory
xXFlippyXx said:
That doesn't makes sense. As long as your device isn't unresponsive or laggy you shouldn't bother about RAM-Usage. Android handles your available Memory quite well.
Try looking at it like this:
There isn't any use in having more and more RAM, if people on the other hand go and try to keep the RAM-usage low. As long as you don't have problems (lags or such) having free RAM is just eyecandy.
Additionally:
For every app killed, Android needs to load it from storage the next time, resulting in more battery drain than just letting it idle in memory
Click to expand...
Click to collapse
ohh thanks reply and and suggestions :good:
pradatta said:
i have rooted device and how to know which app i should delete from background ?
Click to expand...
Click to collapse
It's a kind of thread like this one for Arc
but for Z1 somewhere, I remember a saw that thread with a list of apps to uninstall, search for it.
When I reboot the tablet and look the free ram memory only have 1,5 ram free, is it the normal when this tab has 3 gb ram? I have thunderrom and skyhigh kernel installed.
Yep. It's for most of the android processes and important things that need to run. I also get that much too.
Sent from SMT800 using Tapatalk.
-Helper around Tab S forums√
Active Everyday√
yeiyei0891 said:
When I reboot the tablet and look the free ram memory only have 1,5 ram free, is it the normal when this tab has 3 gb ram? I have thunderrom and skyhigh kernel installed.
Click to expand...
Click to collapse
Yup that's totally normal I'm running cm12 and it's using 1.5GB.
I'm on stock, non rooted and using ES Explorers task killer i can still have about 1.4GB free.
Ok, then 3gb RAM but really you can use less that half of it.
Yep. But hey at least we got 3 GB of ram instead of 2 GB!
Sent from SMT800 using Tapatalk.
-Helper around Tab S forums√
Active Everyday√
DUHAsianSKILLZ said:
Yep. But hey at least we got 3 GB of ram instead of 2 GB!
Sent from SMT800 using Tapatalk.
-Helper around Tab S forums√
Active Everyday√
Click to expand...
Click to collapse
Yeah i get 2GB to use because my system uses 1GB
yeiyei0891 said:
Ok, then 3gb RAM but really you can use less that half of it.
Click to expand...
Click to collapse
I do wish people would actually learn about RAM and why free RAM is actually wasted RAM.
A good summary can be found here: http://m.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
foxmeister said:
I do wish people would actually learn about RAM and why free RAM is actually wasted RAM.
A good summary can be found here: http://m.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
Click to expand...
Click to collapse
Yeah but otoh caching boat load of stuff into ram that won't be used is a waste of battery.
I look at the list of running processes with a system monitor and I have to say WTF does it just load every thing or what. It's running apps I don't even use any more but haven't uninstalled just in case. So if I don't want them running I have to freeze them. And that does not include all the system processes whose purpose I can't even tell. It's kind of nuts.
foxmeister said:
I do wish people would actually learn about RAM and why free RAM is actually wasted RAM.
A good summary can be found here: http://m.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
Click to expand...
Click to collapse
Sorry but you should start to learn yourself. The RAM displayed as free is actually used as a file cache. Besides, Android killing apps in the background means that it takes longer to start a new app in a low RAM situation (because the new app needs to wait until the LMK cleared enough space) and of course you lose the context of the closed app (it needs to reload data from the internal storage or even worse from the web when you restart it).
TheGoD said:
Sorry but you should start to learn yourself. The RAM displayed as free is actually used as a file cache. Besides, Android killing apps in the background means that it takes longer to start a new app in a low RAM situation (because the new app needs to wait until the LMK cleared enough space) and of course you lose the context of the closed app (it needs to reload data from the internal storage or even worse from the web when you restart it).
Click to expand...
Click to collapse
Are you in a low RAM situation when you have 1GB free out of 3GB? NO! 0.5GB out of 3GB? NO!
Does it take a significant amount if time to reclaim resources when android does require additional RAM, because it genuinely is in a low RAM situation? No, because it unceremoniously terminates unused processes, releasing resources to the kernel almost immediately. This is very different from garbage collection to release unused memory from active processes.
Don't just believe me though - take it from the people who actually wrote the OS - http://android-developers.blogspot.de/2010/04/multitasking-android-way.html?m=1
It's also worth saying that you've also validated my statement "Free RAM is wasted RAM" by saying that the OS "uses" free RAM as a file cache.
All that being said, the context of this entire thread is why the OS is "using" 1.5GB out of 3GB pretty much at boot. All I've said is why this is perfectly normal, and in the general usage case, actually not undesirable.
Of couse there will be specific usage cases, where this is not going to be the optimum approach, but this is only going to affect a very small minority of users, with extremely memory demanding applications.
barth2 said:
Yeah but otoh caching boat load of stuff into ram that won't be used is a waste of battery.
Click to expand...
Click to collapse
No. RAM impact on battery life is, for all practical purposes, insensitive to the amount of RAM being used. When sections of RAM are clear, the locations are not zeroed out or anything. Instead the space is just added to a free space table. Stuff in RAM not being used does not waste battery. The exception to this is if that RAM is being occupied by a misbehaving program that is driving CPU usage.
foxmeister said:
Are you in a low RAM situation when you have 1GB free out of 3GB? NO! 0.5GB out of 3GB? NO!
Click to expand...
Click to collapse
Foxmeister is exactly right. In nearly all real world cases, higher RAM usage leads to faster performance and better battery life.
GeorgeP said:
No. RAM impact on battery life is, for all practical purposes, insensitive to the amount of RAM being used. When sections of RAM are clear, the locations are not zeroed out or anything. Instead the space is just added to a free space table. Stuff in RAM not being used does not waste battery. The exception to this is if that RAM is being occupied by a misbehaving program that is driving CPU usage.
Foxmeister is exactly right. In nearly all real world cases, higher RAM usage leads to faster performance and better battery life.
Click to expand...
Click to collapse
No, but you still have to get the data into RAM. That takes power, which it is wasted if the data is never used.
barth2 said:
No, but you still have to get the data into RAM. That takes power, which it is wasted if the data is never used.
Click to expand...
Click to collapse
It's a trade off - preload the processes and data so that they can be accessed far more quickly (less lag) if and when required. Once in memory, if they are not being used the battery drain is negligible.
The reduction in perceived lag is *far* greater than any battery drain.
Regards,
Dave
barth2 said:
No, but you still have to get the data into RAM. That takes power, which it is wasted if the data is never used.
Click to expand...
Click to collapse
LOL! Now are in angels dancing on a the head of a pin territory:laugh:
GeorgeP said:
LOL! Now are in angels dancing on a the head of a pin territory:laugh:
Click to expand...
Click to collapse
Lag is mostly a function of user expectation.
When you open a new app that is not running, you expect a delay. So as long as it's not excessively long, you don't feel lag. unnecessary preloading then just increases bootup time and long boot up time DOES bother people.
Now it makes sense to preload frequently used apps and some system apps that have high probability of being needed. But what I was talking about is seeing apps I used once once weeks ago still get loaded, while some apps I use every session, like my browser, not loaded on start up. The algorithm needs tweaking.
(Large apps like games have long load time, but you are not going to cache those so they are not in the conversation.)
Most lags people experience is in app lag. It's mostly due to loading graphics onto the screen, screen painting, and garbage collection.
What baffles me is I have an iPad 3 (there have been 4 generations of iPads since then) , which on paper is like a Toyota Camry compared to the Tab S BMW 300. And yet on many same apps the iPad feels smoother, scrolling around is less jerky. The only place where the Tab S is superior is 3d games like asphalt with high details and because it has 3x memory, apps need reloading less.
barth2 said:
Lag is mostly a function of user expectation.
When you open a new app that is not running, you expect a delay. So as long as it's not excessively long, you don't feel lag. unnecessary preloading then just increases bootup time and long boot up time DOES bother people.
Click to expand...
Click to collapse
The vast majority of users (i.e. the sort of user who doesn't frequent sites like XDA) probably don't reboot their tablets/phones very often at all, so most people probably aren't that bothered.
I rather suspect that the engineers at Google have experimented with an awful lot of different strategies, before settling on what we have now.
Is it perfect? No. Like everything software related, it could do with improvement but this is always a continuous, on going process
Regards,
Dave
Guys, who have already flashed cm13 on their device, how is the RAM management.
I know its AOSP RAM management but how much free RAM are you getting on 1st boot?
Also is it able to keep things in memory like games and browser tabs?
@bsourav said:
Guys, who have already flashed cm13 on their device, how is the RAM management.
I know its AOSP RAM management but how much free RAM are you getting on 1st boot?
Also is it able to keep things in memory like games and browser tabs?
Click to expand...
Click to collapse
I honestly don't know, I've never monitored free memory since using devices with more than or 2GB of memory (Nexus 4).
And I don't think it even matters.
@bsourav said:
Guys, who have already flashed cm13 on their device, how is the RAM management.
I know its AOSP RAM management but how much free RAM are you getting on 1st boot?
Also is it able to keep things in memory like games and browser tabs?
Click to expand...
Click to collapse
On CM13 here and can keep about 1.5, 1.6gb free. But, multitasking just work! When I was on MIUI every time I must reload the app... Now I can hold apps and some games. I recommend CM
Multitasking work better than miui, you dont need more free ram, as long as system didnt lag, all working fine on cm
Sent from my MI 5 using Tapatalk
This are some build prop tweaks that make Moto g5 plus fly .
Pros
1) Better ram management
2) More free ram
3) Faster app install
4) fast scrolling
and more test yourself and see.
Just copy and paste this build prop tweak in system/build prop file and reboot.
ro.SECONDARY_SERVER_ADJ=10
ro.HIDDEN_APP_ADJ=12
ro.EMPTY_APP_ADJ =15
ro.HEAVY_WEIGHT_APP_ADJ=9
ro.BACKUP_APP_ADJ=10
dalvik.vm.usejitprofiles=speed
dalvik.vm.dex2oat_swap=true
persist.zygote.preload_threads=4
ro.hwui.use_gpu_pixel_buffers=true
ro.hwui.disable_scissor_opt=false
ro.hwui.text_gamma_correction=lookup
ro.hwui.disable_vsync=true
ro.hwui.shape_cache_size=4
ro.max.fling_velocity=15000
dalvik.vm.verify_bytecode=false
ro.HOME_APP_ADJ=2
ro.hwui.render_dirty_regions=false
ro.zygote.disable_gl_preload=1
dalvik.vm.heapminfree=4m
dalvik.vm.heapmaxfree=16m
dalvik.vm.dexopt-data-only=1
ro.zygote.disable_gl_preload=true
dalvik.vm.extra_free_kbytes=4096
dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n
Look through any device section and there is always one of these posts. I prefer to keep apps in memory so they don't reload when you go back to them rather than kill everything and keep RAM unused. I agree, this does keep things smooth by killing everything, but after the app reloads it's pointless..
mikeyinid said:
Look through any device section and there is always one of these posts. I prefer to keep apps in memory so they don't reload when you go back to them rather than kill everything and keep RAM unused. I agree, this does keep things smooth by killing everything, but after the app reloads it's pointless..
Click to expand...
Click to collapse
what I personally don't get is that this phone is already fast.
why should I add some random tweaks to make it "faster" ?
I just don't see a benefit
This work on Oreo(Lineage 15.0) too?
I see this being useful for people with the 2gb version but that's the reason I got the 4gb model. So I don't have to worry about using up my RAM. Phone already fly's
bvsbutthd101 said:
I see this being useful for people with the 2gb version but that's the reason I got the 4gb model. So I don't have to worry about using up my RAM. Phone already fly's
Click to expand...
Click to collapse
Yes, this is for 2 and 3 GB variant .
ckret said:
what I personally don't get is that this phone is already fast.
why should I add some random tweaks to make it "faster" ?
I just don't see a benefit
Click to expand...
Click to collapse
Have you used the 2gb ram variant.
mikeyinid said:
Look through any device section and there is always one of these posts. I prefer to keep apps in memory so they don't reload when you go back to them rather than kill everything and keep RAM unused. I agree, this does keep things smooth by killing everything, but after the app reloads it's pointless..
Click to expand...
Click to collapse
If you have problem with app reload then don't use foreground app and visible app line.
I'm running 2 gig variant never have any issues but I also don't play games but I compile roms and run youtube heavily without using any tweaks
I have the 4 gig variant, but some apps don't stay in memory. Apps like whatsapp are always restarting in the background even though I have > 1 GB ram free
Note : I did not apply this or any mod. It's completely stock
To be honest, my 2GB variant runs just fine. No tweaks needed.
n7slc said:
To be honest, my 2GB variant runs just fine. No tweaks needed.
Click to expand...
Click to collapse
I agree. But I'm fairly certain there is a memory leak of some sort in the stock FW. I have to reboot every few days or things really slow down. I especially notice it typing on GBoard
mine was danfo a gagging and stopped, improved a lot, thanks