Just a thought about memory utilization....
So Oneplus 3 is the first mainstream (not the first overall) android phone with 6Gb. Apparently all that memory is not currently utilized. Most likely it is not fully utilized even on 4Gb phones. There is really no point in wasted RAM. Having a lot of open apps in memory is truly great and could be the best use for it, but it also can present some issues. Background apps on android are not always suspended in the best way and can waste resources (CPU, battery). Of course if app and system are optimized correctly this shouldn't happen, but unfortunately it is not always the case. While google optimizes the system with dose features etc, I'm wondering about a simpler option until the better one is built into the system.
RAM is 10 times faster than storage, so why not use a portion of it as a RAMDISK, like in old days (MS DOS times). For those who don't know, RAMDISK is a portion of RAM that is used as a temporary storage (like flash memory), that will be 10 times faster than permanent flash storage.
Basically out of 6Gb RAM that phone has (Oneplus 3), 3Gb would be used as regular RAM and 3GB would be used as a RAMDISK. RAMDISK completely looses all the data after reboot, but the good thing is that phones don't really need to be restarted often. So RAMDISK would be almost permanent. Lets say you have 100 apps on your phone. Out of those you use 30 all the time. It is a bit inconvenient when app that you use often (for example Facebook) is kicked out from the memory and has to reload from flash storage (slow). Instead you could have those 30 apps to be loaded/copied/synchronized to the RAMDISK during initial boot. If app is kicked from regular RAM and needs to be restarted/resumed it would load 10 times faster from the RAMDISK. During regular intervals and before reboot data/cache from RAMDISK can be permanently saved (synchronized) back to the flash storage. If you have your favorite app that keeps misbehaving in the background (uses too much CPU, doesn't let phone to go into deep sleep and kills battery) you can just have it removed from background processes (swipe away, greenify, kill it etc), but then it will be almost instantly reloaded from RAMDISK when you need it later. So in the end you would have all your favorite apps loading super fast, even if it is not currently running in the background. You would sacrifice some RAM for faster app loading, possibly also minimizing battery loss due to some bad apps.
My knowledge of Android system is very limited and I might be very mistaken regarding this option, it's implementation and benefits. I would love to hear what people with better knowledge can say on this topic.
Droff said:
Just a thought about memory utilization....
So Oneplus 3 is the first mainstream (not the first overall) android phone with 6Gb. Apparently all that memory is not currently utilized. Most likely it is not fully utilized even on 4Gb phones. There is really no point in wasted RAM. Having a lot of open apps in memory is truly great and could be the best use for it, but it also can present some issues. Background apps on android are not always suspended in the best way and can waste resources (CPU, battery). Of course if app and system are optimized correctly this shouldn't happen, but unfortunately it is not always the case. While google optimizes the system with dose features etc, I'm wondering about a simpler option until the better one is built into the system.
RAM is 10 times faster than storage, so why not use a portion of it as a RAMDISK, like in old days (MS DOS times). For those who don't know, RAMDISK is a portion of RAM that is used as a temporary storage (like flash memory), that will be 10 times faster than permanent flash storage.
Basically out of 6Gb RAM that phone has (Oneplus 3), 3Gb would be used as regular RAM and 3GB would be used as a RAMDISK. RAMDISK completely looses all the data after reboot, but the good thing is that phones don't really need to be restarted often. So RAMDISK would be almost permanent. Lets say you have 100 apps on your phone. Out of those you use 30 all the time. It is a bit inconvenient when app that you use often (for example Facebook) is kicked out from the memory and has to reload from flash storage (slow). Instead you could have those 30 apps to be loaded/copied/synchronized to the RAMDISK during initial boot. If app is kicked from regular RAM and needs to be restarted/resumed it would load 10 times faster from the RAMDISK. During regular intervals and before reboot data/cache from RAMDISK can be permanently saved (synchronized) back to the flash storage. If you have your favorite app that keeps misbehaving in the background (uses too much CPU, doesn't let phone to go into deep sleep and kills battery) you can just have it removed from background processes (swipe away, greenify, kill it etc), but then it will be almost instantly reloaded from RAMDISK when you need it later. So in the end you would have all your favorite apps loading super fast, even if it is not currently running in the background. You would sacrifice some RAM for faster app loading, possibly also minimizing battery loss due to some bad apps.
My knowledge of Android system is very limited and I might be very mistaken regarding this option, it's implementation and benefits. I would love to hear what people with better knowledge can say on this topic.
Click to expand...
Click to collapse
Never mind, wrong post.
gee2012 said:
Did you read this http://www.xda-developers.com/how-t...-management-almost-double-the-apps-in-memory/.
Click to expand...
Click to collapse
It is not about fixing the number of apps that can be held in memory, it is about different use for the RAM. When you have 40 apps in the background some of them can kill the battery. That is probably why Oneplus limited the number of apps. RAMDISK could potentiality minimize the battery wasted by background apps (if they are not suspended correctly) by removing them from active memory and still allow fast restart when needed.
Droff said:
Did you read the post? It is not about fixing the number of apps that can be held in memory, it is about different use for the RAM. When you have 40 apps in the background some of them can kill the battery. That is probably why Oneplus limited the number of apps. RAMDISK could potentiality minimize the battery wasted by background apps (if they are not suspended correctly) by removing them from active memory and still allow fast restart when needed.
Click to expand...
Click to collapse
I corrected my post didn`t i?
gee2012 said:
I corrected my post didn`t i?
Click to expand...
Click to collapse
I wrote reply while you did the correction. I think it is good to leave my reply there anyways, in case if someone else misreads the topic. Let me know if you think otherwise.
Droff said:
I wrote reply while you did the correction. I think it is good to leave my reply there anyways, in case if someone else misreads the topic. Let me know if you think otherwise.
Click to expand...
Click to collapse
Its cool
Droff said:
Apparently all that memory is not currently utilized. Most likely it is not fully utilized even on 4Gb phones.
Click to expand...
Click to collapse
Could you explain further why you think it is not being utilised ?
Droff said:
RAMDISK could potentiality minimize the battery wasted by background apps (if they are not suspended correctly) by removing them from active memory and still allow fast restart when needed.
Click to expand...
Click to collapse
Android can not address any RAMDISK, it just makes no sense here.
One Twelve said:
Could you explain further why you think it is not being utilised ?
Click to expand...
Click to collapse
Look at the amount of free RAM in average use. There will be plenty that is unused. Keeping lots of apps cached is the best use for the free ram, but in some cases those background apps need to be removed from the active memory to prevent app from keeping device awake (and killing battery as a result). For example RAMDISK would allow to greenify all the bad written apps, stopping them from draining the battery, but then reloading them back to the active RAM almost instantly (much faster than from flash storage), when user wants to access the app again.
This situation (RAM "waste") can sure change with advances in android system itself, but as of now I just think RAMDISK is not a bad option for new devices with a lot of RAM onboard. Apparently we will see android phones with 8Gb Ram pretty soon.
dragon-tmd said:
Android can not address any RAMDISK, it just makes no sense here.
Click to expand...
Click to collapse
There is no such thing currently, but it doesn't mean that it cannot be created (at least in my understanding) and implemented via kernel or just an application (background service).
Here is info from WiKi
https://en.wikipedia.org/wiki/RAM_drive
Here are the examples of programs/apps for PC:
http://www.radeonramdisk.com/software_downloads.php
http://memory.dataram.com/products-and-services/software/ramdisk
Here some more info:
http://www.pcworld.com/article/260918/how_to_supercharge_your_pc_with_a_ram_disk.html
Plenty more can be found online.
I remember we used to do that on the HD2 - it was pretty cool!
blackalice said:
I remember we used to do that on the HD2 - it was pretty cool!
Click to expand...
Click to collapse
Pity it was just Windows Mobile OS.
Droff said:
Look at the amount of free RAM in average use. There will be plenty that is unused.
Click to expand...
Click to collapse
The impression i got that was not all that ram was not available and was reserved for the system. To the point one questioned that 6GB was available, felt like less.
How much RAM does the OP3 mention as free after a restart ?
One Twelve said:
The impression i got that was not all that ram was not available and was reserved for the system. To the point one questioned that 6GB was available, felt like less.
How much RAM does the OP3 mention as free after a restart ?
Click to expand...
Click to collapse
It shows about 4.5Gb free. I'm yet to fully test OP3 and see my average memory usage, but I doubt that I will have less than 2Gb free
Droff said:
It shows about 4.5Gb free. I'm yet to fully test OP3 and see my average memory usage, but I doubt that I will have less than 2Gb free
Click to expand...
Click to collapse
4.5GB free implies its working as stated.
You're saying in use that memory gets reserved and drops, that is more than it should.
Do u have any ideas how can that be done?
Sent from my HTC 10 using Tapatalk
---------- Post added at 01:55 PM ---------- Previous post was at 01:55 PM ----------
That would be really cool
Sent from my HTC 10 using Tapatalk
Xperia U Lover said:
Do u have any ideas how can that be done?
Sent from my HTC 10 using Tapatalk
---------- Post added at 01:55 PM ---------- Previous post was at 01:55 PM ----------
That would be really cool
Sent from my HTC 10 using Tapatalk
Click to expand...
Click to collapse
As far as I know, there is no RAMDISK app for android at this time. I would love try it out myself. Unfortunately I don't have much coding experience to create this app (or kernel).
On a side note, after more time with a 6Gb phone I can see that this RAM can get utilized quite a bit. After editing the build.prop to magical number 42 and running bunch of apps (regular operation, nothing really extreme), the free cache reported by OS (developer options) is 1.2GB - 1.3GB. at the same time in RUNNING SERVICES it shows 2.8GB free. SYSTEM got bloated to 2.0GB
From what I can see, the apps that I use didn't misbehave so far and even with such heavy load on RAM, my battery didn't take a hit. As a matter of fact I'm very surprised by battery performance so far, but I'm only 1/4 way through.
That being said, I would still love to create 2Gb RAMDISK from that 6GB and play with it more.
Man your battery life is really good!
Sent from my HTC 10 using Tapatalk
Actually, my RAM is well used and i am grateful for having 6 GB in the phone, that is, because i am using two profiles and on 4GB phones they were always operating at the limit. with the oneplus 3 finally this is over.
Praise the lord.
Related
After fixing some lags with I/O system by using filesystem LagFix I still have a Lag problem in my system and I think it's not related to Samsung.
I think this could be an Android problem.
After a fresh reboot I get 124MB of free RAM.
BUT... every day I need to reboot the phone because after 3 hours it became laggy.
Now I analysed this and read a bit about the memory management on several forums and was able to reproduce the lag 2minutes after reboot.
I just need to use much applications one after another to raise the RAM usage for every application.
When the free RAM reaches 40MB I think the system clears some pieces for using it for the app I now want to use and there is the LAG.
Is there any fix for Android not caching every activity of an application in the RAM?
Now for me Android feels like: Usage -> Full RAM -> Lag
Sorry for the new thread but after 2 hours of research I didn't find anything useful over search function.
Yea, every program should have as much ram available as their size. 2gig for program storage on sgs, so there should be the same amount of ram ;D Anyway, theres still less memory for programs on the sgs than for example in the N1. I'd say there is about 384MB of ram total on the sgs and not the 512 claimed.
Sent from my GT-I9000 using XDA App
Not just the RAM for the apps... there's much more...all mails from internet, all google talk conversations, the wather I checked out from internet with any widget, feels like every interaction is cached into the RAM until it reaches the 40mb mark and after that every interaction on my system is laggy... for example: opening the notification bar needs 2-3 seconds.
I already talked to N1 users with the same problem
DasLeo said:
I already talked to N1 users with the same problem
Click to expand...
Click to collapse
Heading out the door in a minute so can't comment on the rest, but I strongly disagree with that part of your statement.
As an N1 owner I've NEVER seen lag like I suffer on the SGS. Never seen the absolute FREEZE in the GUI like the SGS gets.
I'm running FroYo on the N1 now, so can't compare side-by-side to the SGS things like memory usage, but I don't think that's the issue here if you're going to use the N1 as a comparison, despite other users complaining of lag.
You might try Autokiller or the free memory manager app from the Market and see if that improves thing, they'll keep more or less memory free depending on settings. You could test how soon lag comes with default, minimal, and aggressive settings.
I never testet Froyo because everyone said, it's unstable but for me it seems like froyo has other RAM management than Eclair when you said you can't reproduce this problem.
I'm already using a task killer... I have my main apps ignored or excluded and most time there are 2 or 3 apps which will be killed after lock or time or what else.
What's the problem here... if I would use a PC with 512MB RAM and use only 10 small applications, it won't cache everything in the ram until it's full.
Hi, didn't read all the posts, but u should look into the RFS file system, which is samsung proprietery file system. It has a very bad implementation on android (i could be wrong). As for ram, the phone has 512 mb, but 128 are reserved for Gsm/data connection. Just think if you had an incoming call and all your ram was in use, u had to wait for the system to clear up some memory before being able to receive the call physiclly. That would be a long wait.
I could be wrong and sorry for the bad english.
Sent from my GT-I9000 using XDA App
Have you ever tried "Minfreemanager" app?
It can change the minimum available memory level in different app usage.
The device must be rooted first.
Then select "Aggressive" preset and see the result.
rkantos said:
. I'd say there is about 384MB of ram total on the sgs and not the 512 claimed.
Click to expand...
Click to collapse
If this turns out to be true, samsung is up for a massive lawsuit from MANY angry customers who've been mislead due to false marketing
tra33372 said:
Have you ever tried "Minfreemanager" app?
It can change the minimum available memory level in different app usage.
The device must be rooted first.
Then select "Aggressive" preset and see the result.
Click to expand...
Click to collapse
DAMN!!! Nice app... it does exactly what I need cleans my RAM so I'll get 120MB and after that loading of apps is much faster than starting apps with Android included RAM cleaning.
It just cleans my RAM like a reboot but without the reboot
This should be a temporary solution until someone finds a better solution or until froyo is released.
I would like to have an application like this with an autoclean option on 2 hours
Guys please,
Getting off-topic here. Here is Android Development.
Not Q&A or General.
Please post in the right section.
Here is getting too many off-topics that pose no relation to Android Development.
Too cluttered.
Thanks
DasLeo said:
DAMN!!! Nice app... it does exactly what I need cleans my RAM so I'll get 120MB and after that loading of apps is much faster than starting apps with Android included RAM cleaning.
It just cleans my RAM like a reboot but without the reboot
This should be a temporary solution until someone finds a better solution or until froyo is released.
I would like to have an application like this with an autoclean option on 2 hours
Click to expand...
Click to collapse
Auto killer is better.Its exactly the same as minfreemanager but can be made to apply at boot.Minfree manager resets itself at boot.
I use Memory Booster Lite (free version) app to free up memory, must do that manually but it works very well, if you buy the app it free up memory automaticly.
Pika007 said:
If this turns out to be true, samsung is up for a massive lawsuit from MANY angry customers who've been mislead due to false marketing
Click to expand...
Click to collapse
The phone does have 512mb of ram. It just isn't used properly.
MOJO783010 said:
Hi, didn't read all the posts, but u should look into the RFS file system, which is samsung proprietery file system. It has a very bad implementation on android (i could be wrong). As for ram, the phone has 512 mb, but 128 are reserved for Gsm/data connection. Just think if you had an incoming call and all your ram was in use, u had to wait for the system to clear up some memory before being able to receive the call physiclly. That would be a long wait.
I could be wrong and sorry for the bad english.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
No, wrong. The reserved ram is in the form of a ram disk, which seems to be a bit oversized. Not really sure why a ram disk is needed at all, personally.
sammy555 said:
Auto killer is better.Its exactly the same as minfreemanager but can be made to apply at boot.Minfree manager resets itself at boot.
Click to expand...
Click to collapse
This is the correct solution. the JF* series of firmwares have very bad default settings for killing unused apps. Use this app to set them a bit better and you shouldn't have any problems.
Pika007 said:
If this turns out to be true, samsung is up for a massive lawsuit from MANY angry customers who've been mislead due to false marketing
Click to expand...
Click to collapse
It does have 512 of ram, but some is partitioned off for the phone, so that you can always receive phone calls. Just about every device does this, because users would be more upset if they couldn't pick up the phone until they had closed a bundle of running programs. Don't you think that people here would have noticed earlier if the SGS physically had less ram than claimed ?
As far as the OP is concerned, sounds like you are just running too many programs at once. Its not an android problem, its user error.
Any task manager, but particularly an auto-killer will set you right, although alternatively you could try not leaving every app open when you're finished with it. You think your PC would run ok if you left one game open while you opened another ?
DasLeo said:
I never testet Froyo because everyone said, it's unstable but for me it seems like froyo has other RAM management than Eclair when you said you can't reproduce this problem.
I'm already using a task killer... I have my main apps ignored or excluded and most time there are 2 or 3 apps which will be killed after lock or time or what else.
What's the problem here... if I would use a PC with 512MB RAM and use only 10 small applications, it won't cache everything in the ram until it's full.
Click to expand...
Click to collapse
I wasn't comparing a N1 on FroYo to the SGS on Eclair. My comments were in regard to when I was on Eclair, which was several months...FroYo's only been available for a couple of months. What I said was since I'm on FroYo now, I can't compare side-by-side, but my experience with an N1 on Eclair was never any lag problem or GUI freezes.
Anyways, I also suggested you try Autokiller, and you missed that or misunderstood it by saying you already run a Task Killer (which is generally considered a bad idea, but I see you picked up on Autokiller after someone else suggested it. Enjoy.
Pika007 said:
If this turns out to be true, samsung is up for a massive lawsuit from MANY angry customers who've been mislead due to false marketing
Click to expand...
Click to collapse
Nah, all phones advertise the actual chip size in it, not the amount the system actually lets you use.
tra33372 said:
Have you ever tried "Minfreemanager" app?
It can change the minimum available memory level in different app usage.
The device must be rooted first.
Then select "Aggressive" preset and see the result.
Click to expand...
Click to collapse
Thank you. This removes almost all lag I'm experiencing.
Hey,
i want to discuss the RAM usage by apps especially on our RAZR i.
In the past few weeks i realized my phone was getting slower and slower, it's not nearly as fluent as it was once. It always kills apps when it shouldn't, WhatsApp doesn't run reliable etc (sometimes i get notifications MUCH later than i should and only after opening the app). Well, i have ~70mb RAM left.
Now comes the funny part, i don't think i use that much unnecessary apps. I don't play games, delete not used apps regulary. Easy Uninstaller shows me 96 apps (and yes, this is an unnecessary app, but it makes cleaning the phone much more comfortable - so it is allowed to stay)
So what kills the RAM?
Facebook Service - can't kill - 50mb
SRT AppGuard - to kill Facebooks GPS and Location sniffers - 25mb
Dropbox - Camera Upload - 34mb
Then there is some other stuff like WhatsApp, PowerAmp Service, Maps, which consume ~80mb in total.
Now here comes a special list:
Light Flow - 45mb
Nova Launcher - 60mb
3G Watchdog - 30mb
Lux - finally lowered auto brightness - 24mb
Smart WiFi Toggler - 27mb
SwiftKey - 63mb
Whats on that list? Basically everything i NEED to make the phone run the way it's intended to. This consumes 240mb of RAM. And those are all features that should be implemented into Android (WiFi Toggler, Lux, Light Flow) or run because the original is so bad that i can't stand it (Nova Launcher instead of stock alone because of homescreen alignment, 3G Watchdog [no prediction / clarity in stock monitor], SwiftKey).
Then there's the Moto stuff you can't deactivate:
SmartActions - 40mb
MotoCare (?) - 42mb
This is basically my RAM usage i can't get rid off. I am constantly suffering Android quitting apps when it shouldn't, even when i only switch between Opera / Chrome and Adobe Reader and stay in one app a bit too long it quits the other one. Even my old Desire HD - which had 768mb of RAM - did not do that, admittedly with a great AOKP rom.
How do you handle your RAM usage? Do you have remotely as much problems as i have to handle 1gb? I don't know what i could do to reduce my RAM usage. My new tablet, a Note 10.1, makes it feel even worse as everything runs so perfect, you just know that's the best that 4.1 will ever be. Right now, i have 700mb left. I never care about RAM usage and the best thing is, when i open an app i sometimes find out it was still running in the background, it instantly appears on the screen. The Moto needs a lot longer for it now and you feel it's an overloaded phone..
i got the same problems lol
thats why im looking for an app that kills apps that i no longer need in the moment and just restarts them when i need them (something like IOS does)
anyway some apps that you are using does not use as much ram in my phone
AW: RAM Usage - my last phone with 1gb?
Use Greenify to hibernate Apps if they are not in use. Works great here :thumbup:
Gesendet von meinem XT890 mit Tapatalk 2
---------- Post added at 04:15 AM ---------- Previous post was at 04:13 AM ----------
http://forum.xda-developers.com/showthread.php?p=38192418
Gesendet von meinem XT890 mit Tapatalk 2
AW: RAM Usage - my last phone with 1gb?
Gesendet von meinem XT890 mit Tapatalk 2
I guess it would be the perfect solution.. If I was rooted. I don't want to do it yet, I have to send it in because of the auxiliary port not working properly and I am only waiting for any friend to buy a new android so I could borrow his while the RAZR I is being repaired. But finally, thank you, I found a proper reason why I should root my phone. Maybe I'll try the app on my rooted note 10.1 even though I will never need it just to find out how it likes my apps.
I use an app called Fast Reboot Pro. It restarts all running apps to release memory. Doing this once a day keeps my phone slick. I recommend you try it. :thumbup:
Sent from my RAZR i
If you don't use SmartActions then you can disable it in the app menu. Should help a tiny bit!
---------- Post added at 02:01 PM ---------- Previous post was at 01:49 PM ----------
kkh786 said:
I use an app called Fast Reboot Pro. It restarts all running apps to release memory. Doing this once a day keeps my phone slick. I recommend you try it. :thumbup:
Sent from my RAZR i
Click to expand...
Click to collapse
I just installed Fast Reboot and it really does make a lot of difference. In one click of a button everything was like I just turned the phone off and on but it all happened within a second so much more conveniant. And you don't have to be rooted for it to work either.
I'll try this for a few days then buy the pro version.
Where the app menu to disable smart actions?
Sent from my RAZR i
ultim said:
Where the app menu to disable smart actions?
Sent from my RAZR i
Click to expand...
Click to collapse
Go into settings\apps\all apps
Find SmartActions in the list and click on it
If disable button is greyed out then you'll need to uninstall the updates first otherwise just click disable button at the top right.
Oops. I've accumulated 150 apps (need some editing), and run smartactions on my Razr i with, to my surpise, no noticeable slow-down or difficulty swopping between apps on my phone. I'm rooted, so Android firewall disables most of then when running on mobile data (with background data also disabled) but on wi-fi at home and work they all run - 845 RAM being used at the mo - 32 processes running. WiFi off at night though, one running app puts flight mode on. I usually do a manual reboot once a week, just to give the phone a break.
You should instal Pi-Lama 0.3 Most of the Motorola's bloatware are gone together with Blur stuff.
Mh .. I will send it in in maybe 3 weeks. When i get it back fixed, i think i'll do it. What i don't get about most phones on the market is that their hardware is really great but the customized Android is just awful. I don't get it.. Admittedly the Motorola UI is not that bad, but i prefer the stock android look. I find that only Samsung does a good job in customizing their software. Every other UI is unpractical, drains the battery or looks bad (my opinion) ..
I dont know how your Note tablet performs, but my GS3 was awful price to performance, it is neck and neck with the moto razr i and the moto is faster in single-running apps environment because of its very high clock and bandwith of the cpu. However, flipboard used 89mb and touchwiz thing used more than 120mb in total so, no cheers there.
No android customization is good enough. Most of them are pretty but not good enough. What's more, the GS3 died after 3 days, and no engenieer could explain it (sorry for bad level of english), it just died...
Regarding RAM issue, moto services, all in all, use 101mb as i calculated and non-stoppable servicies such as maps location, fb location, whats app service and so on takes up as much as 220mb (a bit less, but just rounding out numbers)
My entire RAM usage is of about +-600mb of 970mb. However, i use a VPN and intra-network app for my work and that eats up another 150mb adding swype and some other things such as ftp servers i get up to 800mb used and it doesnt lag but IT DOES close apps by itself. The GS3 did it too, but its multicore could open them a bit faster when more than 2 or 3 were already running.
Stock JB...around 500-600MB free...
I'm using latest Omar Rom and greenify, about 60 apps installed. When I kill all apps I've got:
Available: 475 MB
Inactive: 175 MB
Which gives me 650MB free RAM (avail and inactive is in fact free). Unfortunately it does't mean anything. Phone is'n as fast as I would like it to be, android is amazingly ****ty optimized. My previous phone (btw Defy) have had 512MB RAM and single core CPU - and with android GB (CM7) speed was comparable - apps were smaller and less "memory hungry" than on ICS or JB.
I'm too thinking about 2GB of RAM in phone (maybe XIAOMI MI2).
adddaamo said:
I'm using latest Omar Rom and greenify, about 60 apps installed. When I kill all apps I've got:
Available: 475 MB
Inactive: 175 MB
Which gives me 650MB free RAM (avail and inactive is in fact free). Unfortunately it does't mean anything. Phone is'n as fast as I would like it to be, android is amazingly ****ty optimized. My previous phone (btw Defy) have had 512MB RAM and single core CPU - and with android GB (CM7) speed was comparable - apps were smaller and less "memory hungry" than on ICS or JB.
I'm too thinking about 2GB of RAM in phone (maybe XIAOMI MI2).
Click to expand...
Click to collapse
I'm really curious, What exactly do you need your phone do faster than it do right now?
I never see any Android Phone run faster than my razr i, the only problem is compatibility with some apps, and lack of development.
( i had a defy too, and you really can't compare defy with razr i)
diogo.sena said:
I'm really curious, What exactly do you need your phone do faster than it do right now?
I never see any Android Phone run faster than my razr i, the only problem is compatibility with some apps, and lack of development.
( i had a defy too, and you really can't compare defy with razr i)
Click to expand...
Click to collapse
Heh, I've overclocked defy to 1300MHz, with CM and minimalist theme it worked really great
I want an android phone with constant 60FPS and instant startup of apps. Now on RazrI it takes couple seconds for Chrome to became operational - where it should be instantaneous, switching between big apps also lags from time to time.
adddaamo said:
Heh, I've overclocked defy to 1300MHz, with CM and minimalist theme it worked really great
I want an android phone with constant 60FPS and instant startup of apps. Now on RazrI it takes couple seconds for Chrome to became operational - where it should be instantaneous, switching between big apps also lags from time to time.
Click to expand...
Click to collapse
who said razr i wont run at 60fps?
to me, chrome is fast enough but stock browser is even faster.. (new opera mobile beta is using webkit too and seems good)
funny thing that you mentioned browsers, cause razr i is by far the best smartphone in any javascript benchmark
i agree that is not optimal for games, but is a great smartphone.
Hi, so I bought mina XT890 two months ago, and currently I habe 98MB of free RAM. I have disabled a lot of Motorola apps, and I think that 98mb of free RAM is too short for a 1GB phone... I guess there is something wrong, some stuff being used underground and I can't see it. My GF has a S3 Mini, and the RAM usage is much better. She has more apps and games than I do...
godoy.rafa said:
Hi, so I bought mina XT890 two months ago, and currently I habe 98MB of free RAM. I have disabled a lot of Motorola apps, and I think that 98mb of free RAM is too short for a 1GB phone... I guess there is something wrong, some stuff being used underground and I can't see it. My GF has a S3 Mini, and the RAM usage is much better. She has more apps and games than I do...
Click to expand...
Click to collapse
Do not observe how much free RAM do you have. Just compare how this phone works. It's really Fast and reacts immediatelly even you see only 98MB free RAM. It's much more better than S3 mini.
Odesláno z mého XT890
All I would like to do is to keep apps maximum is possible in ram. My goal is for my daily use of most common apps like phone, whatsapp, google messenger, gmail, contacts, calendar etc. to keep them in ram so switching between them is smooth and fast without loading on anything. My memory is always more then 50% empty and little apps like calendar or contact are getting killed with no reason. That is really going on my nerves more and more.
I am on Pure Nexus CMTE rom and I have tried playing with Kernel Auditor low memory killer and virtual memory settings. What ever I do there my ram usage is always about 1 - 1.4 GB newer more then that. How I can force system to keep apps in ram until critical point? Like in my case with more then 50% of ram still available there should not be any apps removed from memory even if is app not active for some time. Can anyone please help me with this.
Possibly you see 1.5G free now, but it may have temporarily been a lot less free when the apps were killed (usage varies over time). See attached how high chrome can jump at its peak.
Just a thought..very half baked. I'm sure someone will give suggestions for what you want.
electricpete1 said:
Possibly you see 1.5G free now, but it may have temporarily been a lot less free when the apps were killed (usage varies over time). See attached how high chrome can jump at its peak.
Just a thought..very half baked. I'm sure someone will give suggestions for what you want.
Click to expand...
Click to collapse
Yes, I know but Chrome memory usage is still nothing compare to free memory available. I did some reading and end up creating local.prop file in root/data and add some lines there. How much that will help I will find out in day or two. If anyone is interested to know what I did I can post it here after.
Just wanted to add that in Android N preview the low memory kill settings by default were very light (like lighter than kernel adiutor's "very light" preset) and it resulted in very stuttery performance. Setting them back to marshmallow stock settings made everything smoother. Looking forward to anything you may uncover on this though.
StykerB said:
Just wanted to add that in Android N preview the low memory kill settings by default were very light (like lighter than kernel adiutor's "very light" preset) and it resulted in very stuttery performance. Setting them back to marshmallow stock settings made everything smoother. Looking forward to anything you may uncover on this though.
Click to expand...
Click to collapse
Okay this is what is confusing me the most. In Kernel Auditor "very light" preset means that apps will be removed soon is possible, very light means small amount of memory to be used. Am I correct? Aggressive on other hand will give more memory for apps, more apps in memory and less removing from it.
So if is that correct then is very understandable why "N" with less then "very light" preset made bad performance and soon you give it more memory to play everything is back to normal.
However I did test on that many times but in both cases my apps are getting removed from memory with more then 50% still available memory. That's why I need somehow to stop system from emptying memory until critical point. Maybe some build.prop lines can help but I am not really expert in that area.
Emilius said:
Okay this is what is confusing me the most. In Kernel Auditor "very light" preset means that apps will be removed soon is possible, very light means small amount of memory to be used. Am I correct? Aggressive on other hand will give more memory for apps, more apps in memory and less removing from it.
So if is that correct then is very understandable why "N" with less then "very light" preset made bad performance and soon you give it more memory to play everything is back to normal.
However I did test on that many times but in both cases my apps are getting removed from memory with more then 50% still available memory. That's why I need somehow to stop system from emptying memory until critical point. Maybe some build.prop lines can help but I am not really expert in that area.
Click to expand...
Click to collapse
What is the solution for Pixel 2 rom of LG Nexus 5X? os ur build prop gonna help for me? if yes plz replay.
MHS3511 said:
What is the solution for Pixel 2 rom of LG Nexus 5X? os ur build prop gonna help for me? if yes plz replay.
Click to expand...
Click to collapse
No idea man, I don't have LG Nexus 5 anymore. Today roms have that battery optimizations build in. Go there and make the app you like to be in memory "not optimized" and in Kernel auditor or any other app flashing memory to "very light". That should help. Good lack
Hello fellow MI5 users,
I received my phone one week ago and I start having some issues with the RAM. In fact, at the start of the phone, it's already at 70% filled up which is too much for me. Indeed I use a lot of RAM and I'm that type of guy who let the apps running in background everytime because I keep opening them everytime. I was wondering if it was possible to have a link to a better ROM because I guess it's the problem and also a link for a tutorial on how to flash it I'm a newbie in this type of manipulation but I'm very interested so I hope you will help me guys. By the way, my MIUI version is the MIUI 8 Global 6.8.18. I honestly don't know what can i give as information but I'll answer ASAP at any questions
Have a good day
This is working as design - Android keeps apps in RAM to reduce I/O on resuming from background - faster & more energy efficient.
You can change the number of background processes via the development settings or you can kill apps on closing.
adwinp said:
This is working as design - Android keeps apps in RAM to reduce I/O on resuming from background - faster & more energy efficient.
You can change the number of background processes via the development settings or you can kill apps on closing.
Click to expand...
Click to collapse
I've seen that indeed but it was set at standard so I'll probably put it at 3 I guess. How should I set the memory optimization? I've read it should be set off, altough I tried middle and I feel comfortable like that?
Is it normal to start at 70% without anything started ?
Unitae said:
I've seen that indeed but it was set at standard so I'll probably put it at 3 I guess. How should I set the memory optimization? I've read it should be set off, altough I tried middle and I feel comfortable like that?
Is it normal to start at 70% without anything started ?
Click to expand...
Click to collapse
For the 3GB version? Pretty much. MIUI is horrible.
After booting I typically had 1.3GB / 3.0GB free but after a while this averaged to around 650MB free.
free ram is useless ram , which cant accelerate anything
ps2lover said:
free ram is useless ram , which cant accelerate anything
Click to expand...
Click to collapse
I know that but I need more because I use multi-task a lot. Is there a way to change the ROM so I have more space to work with? Even if the ROM itself is beautiful.
Indeed it's the 3gb version 32gb. It have lags sometimes and I think it's due to the full RAM. Can I have a link to a custom ROM which works fine on this device?
I'm a little confused, you want as much RAM available but you want as many processes in the background as well? That sounds contradicting to me. Memory optimization maps to ZRAM, if you set it off there will be no memory compression and thus even less processes will be kept in the background. If you set it high, you can have as many processes as possible, but there could be lag due to (de)compression time overhead.
Try different Rom
Try to use a different Rom. On the Stock Rom is a lot of bloatware which is using your RAM too.
First you need to get an Bootloader unlock permission and have to unlock the BL.
It could take up to 10 Days to get the permission from Xiaomi
http://forum.xda-developers.com/mi-5/how-to/unlocking-xiaomi-mi-5-bootloader-t3336243
After that you have to flash a recovery like trwp via ADB. Google it for videos or threads how to do it.
http://forum.xda-developers.com/mi-5/development/recovery-twrp-xiaomi-mi-5-t3412123
After that you can flash a developer Rom.
I use the Resurrection Remix and it works fine. The CM 13 stucks in Bootloop. Maybe because I made a full wipe and had to sideload my rom.
Because you don't have a SD card option you have to have the room installed on your hard drive. But just follow the description below
http://forum.xda-developers.com/mi-5/development/unofficial-resurrection-remix-m-5-6-9-t3395945
It took me just 1 day to get the unlock permit but don't try do do it without it. You brick your phone.
The RR Rom works really fine. Fingerprint and everything. It has no bloatware and you have to get the gaps like in the description. Arm64 nano seems enough.
Good luck and fun with a great phone.
Normally the android system kills the unused apps even in background. But i also experienced lack in multitasking.
leledumbo said:
I'm a little confused, you want as much RAM available but you want as many processes in the background as well? That sounds contradicting to me. Memory optimization maps to ZRAM, if you set it off there will be no memory compression and thus even less processes will be kept in the background. If you set it high, you can have as many processes as possible, but there could be lag due to (de)compression time overhead.
Click to expand...
Click to collapse
I think you misunderstood the OP question, he wanted more free RAM at start in order to have as many as possible apps in the background.
lapocompris said:
I think you misunderstood the OP question, he wanted more free RAM at start in order to have as many as possible app in the background.
Click to expand...
Click to collapse
Yup exactly
Try trwp 3.0.2.0 with 3.0.2.1 people experience bootloop
Omied said:
Try trwp 3.0.2.0 with 3.0.2.1 people experience bootloop
Click to expand...
Click to collapse
In fact, I'm just doing some research before asking because I'm very new. I have found some videos but they are pretty old and not on this phone but I guess it works more or less the same way
lapocompris said:
I think you misunderstood the OP question, he wanted more free RAM at start in order to have as many as possible apps in the background.
Click to expand...
Click to collapse
OK, in that case, just open Security->Permissions->Autostart and disable those which aren't immediately needed upon start. I have 18 autostart items (mostly system monitoring & social media apps) and I usually start with 1.5 GB free RAM.
I already went to the Device Optimization, cleared all the apps but only get maximum of 2.8GBshhh of memory. Any thoughts? Im not using heavy theme (just black theme) and no 3rd party launcher app installed. Any one went beyond 3gb of free ram?
In regards to utilization, used RAM isn't always necessarily bad.
But it does become a difficult subject because everyone's expectations and usage patterns differ.
However, if you are concerned that this is abnormal, consider this:
Enable 'Developer Options' and go into 'Running Services'.
Take a look at 'Show Cached Processes' and 'Show Services In Use' to get a better picture of what apps are consuming your memory.
This is potentially a situation where we can disable, or uninstall applications not useful anymore.
Share your details so myself and others can help out.
A_H_E said:
In regards to utilization, used RAM isn't always necessarily bad.
But it does become a difficult subject because everyone's expectations and usage patterns differ.
However, if you are concerned that this is abnormal, consider this:
Enable 'Developer Options' and go into 'Running Services'.
Take a look at 'Show Cached Processes' and 'Show Services In Use' to get a better picture of what apps are consuming your memory.
This is potentially a situation where we can disable, or uninstall applications not useful anymore.
Share your details so myself and others can help out.
Click to expand...
Click to collapse
Most RAM usage is touchwizHome and google chrome
Free Ram is wasted Ram.
Thanks @jhun80
Are you familiar with ADB or have ADB installed?
We can use the 'adb shell dumpsys meminfo -d' command to view memory allocation.
Would also be interested in seeing the 'Show Cached Processes' as well.
Thanks!
---------- Post added at 07:48 PM ---------- Previous post was at 07:31 PM ----------
Jammol said:
Free Ram is wasted Ram.
Click to expand...
Click to collapse
Agreed 110%.
The Device has 6GB of RAM. Total available RAM is 5,475,076K with the rest reserved for the OS.
Which would mean, and someone correct me, that 2675076K (2.6GB) is being utilized elsewhere.
Naturally, I wouldn't worry because like I said earlier, device utilization differs per individual.
jhun80 said:
I already went to the Device Optimization, cleared all the apps but only get maximum of 2.8GBshhh of memory. Any thoughts? Im not using heavy theme (just black theme) and no 3rd party launcher app installed. Any one went beyond 3gb of free ram?
Click to expand...
Click to collapse
Why u looking to free up more Ram?
Mines only 1.6 free. It's really going to depend on the number of apps you have installed, I suppose.
SiNJiN76 said:
Mines only 1.6 free. It's really going to depend on the number of apps you have installed, I suppose.
Click to expand...
Click to collapse
I installed alot of apps and games, but what if most of them are not opened? I closed all the apps and was expecting to have more free ram.
A_H_E said:
Thanks @jhun80
Are you familiar with ADB or have ADB installed?
We can use the 'adb shell dumpsys meminfo -d' command to view memory allocation.
Would also be interested in seeing the 'Show Cached Processes' as well.
Thanks!
---------- Post added at 07:48 PM ---------- Previous post was at 07:31 PM ----------
Agreed 110%.
The Device has 6GB of RAM. Total available RAM is 5,475,076K with the rest reserved for the OS.
Which would mean, and someone correct me, that 2675076K (2.6GB) is being utilized elsewhere.
Naturally, I wouldn't worry because like I said earlier, device utilization differs per individual.
Click to expand...
Click to collapse
I don't have adb installed
jhun80 said:
I installed alot of apps and games, but what if most of them are not opened? I closed all the apps and was expecting to have more free ram.
Click to expand...
Click to collapse
(Sorry for for delay; was away for the weekend).
Thanks for providing more information! It gives me and the community a better understanding of your issue.
So, to be frank, if you have many applications and games installed, that's going to be the key reason why you're are seeing "high" memory usage.
Android is designed for multitasking which means that it keeps apps in device RAM for ready access. You can use Samsung's 'Device Maintenance' application or a third-party task killer however you're still going to see the available RAM slowly decline throughout the day. That's intended by design and absolutely normal.
I'm going to include two articles for you. One is a simplified understanding of how Android manages RAM and the other a low-level overview for Developers. Both are insightful:
https://www.androidpit.com/ram-management-on-android
https://developer.android.com/topic/performance/memory-overview.html
Good luck!
I use my phone to do a lot of digital art on the go which is why I bought the Note 8 because it has the 6gb of RAM. If anyone has a list or knows of one that shows which processes/apps I can disable that will not affect the stability of the phone it would be greatly appreciated!!
Start by disabling Facebook processes and in the battery settings, in the apps that shouldn't start in background choose every app that you don't want notifications from.
ehall2k7 said:
I use my phone to do a lot of digital art on the go which is why I bought the Note 8 because it has the 6gb of RAM. If anyone has a list or knows of one that shows which processes/apps I can disable that will not affect the stability of the phone it would be greatly appreciated!!
Click to expand...
Click to collapse
Why do you need to disable anything?
Jammol said:
Why do you need to disable anything?
Click to expand...
Click to collapse
Because programs like ArtRage and Sketchbook Pro crash often on whenever I have more than 3 layers on a project. They need to have more honest marketing for specs....like "Phone has 6gb ram but you only get about 40% of it" :laugh::laugh::laugh::laugh:
I even close all apps in the background and run Device Maintenance before using them. Still can never get more than 2.7 gb of RAM avail.
ehall2k7 said:
Because programs like ArtRage and Sketchbook Pro crash often on whenever I have more than 3 layers on a project. They need to have more honest marketing for specs....like "Phone has 6gb ram but you only get about 40% of it" :laugh::laugh::laugh::laugh:
I even close all apps in the background and run Device Maintenance before using them. Still can never get more than 2.7 gb of RAM avail.
Click to expand...
Click to collapse
Have you been able to isolate why they are crashing? The reason I'm asking is because one if my friends does all of his artwork on his Note 8 but I haven't heard him have issues with crashing and such. He comes to me for all if his tech needs.
IDK about andooid and cell phones, but as an example.... Windows 10 will run (like a crawl) with 2gb of ram and that technically is not supported. Windows 10 runs ok on 4gb of ram and allot better on 8gb. All my computers since 2012 have 32gb of ram and the ones I buy today have 64gb of ram.
Overkill? I do 4k video work on the pc's. I would love to see 8 or 16gb on a flagship phone like a note 8, the only reason would be that spare head room if you are running allot of apps. I mean, if I only wanted run 2-4 apps, then I would not have got a note 8 right?
There's no need to do this manually. Android is smarter than you at managing its' ram usage. Let it do it's job.
There is another reason your apps are crashing. Pull your logs and watch for the crash, then post the relevant sections here.
ehall2k7 said:
Because programs like ArtRage and Sketchbook Pro crash often on whenever I have more than 3 layers on a project. They need to have more honest marketing for specs....like "Phone has 6gb ram but you only get about 40% of it" :laugh::laugh::laugh::laugh:
I even close all apps in the background and run Device Maintenance before using them. Still can never get more than 2.7 gb of RAM avail.
Click to expand...
Click to collapse
There's no way that a single app can use that much ram(over 2.5GB). You should run Android Profiler and check how much ram it uses and get logcat when it crashes.
I used to have a phone with 1GB ram recently and it only had like 400mb free. It could easily handle 4 apps in the background and nothing would crash, apps like: Spotify, Kik, Plus Messenger, Snapseed and sometimes even Instagram too. So if a 1GB phone can handle that then I'm sure a 6GB phone with 190k in Antutu(the 1GB phone only had 20k), can handle that too. For example I've been running Limbo with WinXP and it never crashed. And WinXP + x86 emulation eats CPU and RAM like crazy, yet Note8 can handle that without a problem and I can still use other apps while running XP in the background.
Also, free ram is useless nowadays. Back in HTC Sensation times(2011-2012) we had to use ram cleaning apps but now it's useless. Android is storing apps that You use a lot in it's ram to quickly launch them. If You will clean Your ram it will have the opposite effect and will slow down Your phone for a second or two because it will reload these apps (apps like Launcher, keyboard etc).
You can also modify kernel/system and build.prop to force Android to use only like 100mb of RAM but then Your phone will be barely usable.
Find a real cause of Your apps crashing. RAM is 99% not causing the problem. Logcat will always tell You the truth.
Btw, on LineageOS You get 4GB free RAM. But it's a lot slower than SEx 8.5. Why? Because free RAM is not everything! :silly:
Edit: Android also forces devs to use as little ram as it's possible. Look at iPhones for example. They only have 2-3GB RAM, why? Because Apple tells them: We want You to optimise Your app. Not use 5GB of ram. So go and optimise it .
In Android a single app can use up to 1GB of RAM I think. Or 512MB. Not sure. And that's on high end devices. So App developers have to optimise their Apps to use as little ram as possible. Mid End devices have around 256mb-128mb per app. And not everyone has a high end or mid end device. That's why they have to optimise their App to use at most 128mb to get them to work quite smoothly and to avoid crashing on low end and mid end devices.
No I haven't. Suggestions on how I can do that?
---------- Post added at 09:13 AM ---------- Previous post was at 09:08 AM ----------
Jammol said:
Have you been able to isolate why they are crashing? The reason I'm asking is because one if my friends does all of his artwork on his Note 8 but I haven't heard him have issues with crashing and such. He comes to me for all if his tech needs.
Click to expand...
Click to collapse
No I haven't. Suggestions on how I can do that?
ehall2k7 said:
No I haven't. Suggestions on how I can do that?
---------- Post added at 09:13 AM ---------- Previous post was at 09:08 AM ----------
No I haven't. Suggestions on how I can do that?
Click to expand...
Click to collapse
Well it'll take two methods you can do. They are both a pain but one less than the other.
1. Try using BK Disabler and disable all 3rd party apps you installed except for the one you are having issues with.
2. Flash full stock and only install that app you need. Don't restore any data and see of it crashes. If it doesn't crash, restart from the beginning with restoring data(no apps), install the app, test and see if it crashes. If it doesn't, it's one of the apps you are installing that causing it.
Don't know if that'll do it.