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.
I have a Droid A855 rooted, CM7 installed. I have the latest build. I have two issues, one is that the free RAM is ridiculously low with like 5 apps open it has about 20MB of RAM free. This is unacceptable because my Huawei Ascend has 90 free with many apps open, and the Droid has twice the ram of the Ascend. Is there any suggestions about this? Also the camera was working great and then it started freezing, and now the camera force closes when I press the button to take a picture. If I go to the camcorder it works fine, but otherwise I get force close. Any help would be greatly appreciated.
AtmosFEAR4701 said:
I have a Droid A855 rooted, CM7 installed. I have the latest build. I have two issues, one is that the free RAM is ridiculously low with like 5 apps open it has about 20MB of RAM free. This is unacceptable because my Huawei Ascend has 90 free with many apps open, and the Droid has twice the ram of the Ascend. Is there any suggestions about this? Also the camera was working great and then it started freezing, and now the camera force closes when I press the button to take a picture. If I go to the camcorder it works fine, but otherwise I get force close. Any help would be greatly appreciated.
Click to expand...
Click to collapse
Personally CM7 has just never ran smooth. No matter what I have tried. Gingerbread was never really meant for the Droid so most roms have built in stuff to help with memory that I do not believe CM7 ever had added. and the camera is outright terrible lately, I have it force closing on all my roms. I really don't know how to help all I can really try suggesting is trying out other roms
durandgir said:
Personally CM7 has just never ran smooth. No matter what I have tried. Gingerbread was never really meant for the Droid so most roms have built in stuff to help with memory that I do not believe CM7 ever had added. and the camera is outright terrible lately, I have it force closing on all my roms. I really don't know how to help all I can really try suggesting is trying out other roms
Click to expand...
Click to collapse
Thanks for the quick reply, I beg to differ on the Gingerbread not being for the droid part, my old Ascend runs Gingerbread Cm7 with flying colors, and this droid has double the performance...
AtmosFEAR4701 said:
Thanks for the quick reply, I beg to differ on the Gingerbread not being for the droid part, my old Ascend runs Gingerbread Cm7 with flying colors, and this droid has double the performance...
Click to expand...
Click to collapse
Try Peter Alfonsos GB, I found that it gave me the most amount of free ram at any time
taptaptouch said:
Try Peter Alfonsos GB, I found that it gave me the most amount of free ram at any time
Click to expand...
Click to collapse
Hmm
Sent from my Droid using xda premium
I think you guys are missing a crucial part about how Android is built. Free RAM is wasted RAM.
Newer versions of Android, especially Gingerbread, are better at RAM management than older versions. Granted, there's an ever-growing need for more RAM for basic system functions, but Android is designed to free up RAM on-demand for the things that need it.
Just because RAM isn't free doesn't mean that the system is going to slow down. Android will put the stuff that's not being used anymore into a swap file so that the stuff you need to work with can do what it wants.
projektorboy said:
I think you guys are missing a crucial part about how Android is built. Free RAM is wasted RAM.
Newer versions of Android, especially Gingerbread, are better at RAM management than older versions. Granted, there's an ever-growing need for more RAM for basic system functions, but Android is designed to free up RAM on-demand for the things that need it.
Just because RAM isn't free doesn't mean that the system is going to slow down. Android will put the stuff that's not being used anymore into a swap file so that the stuff you need to work with can do what it wants.
Click to expand...
Click to collapse
Yes but the ram is going so low that it is closing my applications like music when I go to a different screen.. it's frustrating
information ++
sfahadzb said:
information ++
Click to expand...
Click to collapse
What? I dont understand
I agree with you and I will like to agree with you but it just won't work. This is like Windows Vista, they use all the memory, but it is very slow when you try to open application which you don't use a lot.. and it also causes a lot of slowness when you try to use more ram for soemthing else, like modify a huge image in photoshop and then switch to some other application.
Get back to the real story, my phone get memory lower than 50 free MB easily. and when I open Google current in this stage, it just hangs for 5 minutes. then I get a message "force closed". However, if I have 100 free MB, then I am safe, I don't see that popup message. Moreover, when I go to 40 free MB, I even have hard time to open skype and pick up the phone, it just rings, but the screen just hangs! when the screen refresh back, people get into mailbox already....
anyway, I found a software to temp solve this problem ZDbox. I set up when the screen hangs, "kill all apps in the memory" it is not best, but at least I can pick calls, I can run application without getting "force closed" message all the time.. because I need to reboot few times a day to solve ram issue.
perhaps, you can do a test yourself.
- install CM7
- install facebook app and run
- install google reader and run
- install google current and run
- install skype and run
- install gmail and run
- install google voice serach and run
- install google book and run
- install whatsapp and run
- install naver LINE and run
- install twitter and run
- install zdbox and run
- install lookout and run
- install go laucher
well after all this, your phone show be in less than free 50MB.. if so, try to run other application and you will see the problem.. screen hangs.....very slow response....not able to pick calls...
projektorboy said:
Just because RAM isn't free doesn't mean that the system is going to slow down. Android will put the stuff that's not being used anymore into a swap file so that the stuff you need to work with can do what it wants.
Click to expand...
Click to collapse
Yeah but even though "free ram is wasted ram" it still causes instability and force closes along with just pure out lag. My D1 lags when it has only 30mb of ram or less anything over 50 and it flies along. It lags to the point were even simple tasks are slow when they should not be.
AtmosFEAR4701 said:
I have a Droid A855 rooted, CM7 installed. I have the latest build. I have two issues, one is that the free RAM is ridiculously low with like 5 apps open it has about 20MB of RAM free. This is unacceptable because my Huawei Ascend has 90 free with many apps open, and the Droid has twice the ram of the Ascend. Is there any suggestions about this? Also the camera was working great and then it started freezing, and now the camera force closes when I press the button to take a picture. If I go to the camcorder it works fine, but otherwise I get force close. Any help would be greatly appreciated.
Click to expand...
Click to collapse
Droid has 256MB RAM. (Actually, there's only 226MB RAM available to kernel.)
If the Droid has twice the RAM of your Huawei Ascend, then your Ascend has only 128MB RAM.
If it has 90MB RAM free with many apps open, then it means that all the system services and all the "many" open apps has to fit to 38MB of RAM.
That's hard to believe.
And btw., you can't compare RAM consumption on devices with different display resolution. Droid drives 854x480 pixels and uses hdpi bitmaps. I guess that the Ascend has lower resolution. The RAM demand is much higher on WVGA hdpi devices compared to low resolution HVGA/QVGA mdpi/ldpi devices.
When I my HTC Desire Z, I was in love, awe of the beautiful interface HTC Sense and the many adjustments I needed to make experience to a higher level, the Android. However, as I went about installing my wealth of applications, games and widgets (more than a hundred, are addictive), Sense started getting so instead of improving my experience. The initial screen would start every few hours re; each faucet took longer to record; Screen rotation when the keyboard sliding open continue for centuries; and each phone looked like he was struggling to get by.
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.
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.