[Q] CM10 Memory Footprint & Reboots - Galaxy Tab Q&A, Help & Troubleshooting

Hi,
I have a P1000 with CM10 (Humberos and Alroger) and I'm very pleased with this ROM.
It's such a difference if compared with GB that it really looks like having a new device.
There is one problem though that I'm not sure can be fixed: the random reboots.
I've dig a bit and apparently reboots are related to the lack of memory.
Analysing the available memory indeed I noticed that it easily goes around 50-70Mb which doesn't seem to be that much and probably this is the root cause of the random reboots.
I've enabled zRAM with a compression rate of 35% but this doesn't seem to have solved the issue.
So I'm wondering why nobody else is actually talking about this issue. Is the majority of P1000+CM10 users not having this issue?
Or it's just that we can't do anything about it and therefore we have to live with this?
In no way this post wants to be a complain. I'm just asking some more information to understand this issue better.
Cheers
Fiber7

Free memory is wasted memory.
This is not Windows which actively swap memory to swap.
if memory really is running low, the memory manager will kill inactive apps, not panic and reboot.
Sent from my GT-P1000 using xda app-developers app

Hi Pryiana,
I'm not sure I got what you mean.
I'm not rebooting the system, it just does it automatically, that's the problem.
What I'm trying to understand here is why it reboots automatically.
Based on Alroger a solution to self reboots is to enable zRAM which is a kernel feature to compress data being written to memory to reduce the footprint.
Are you currently on a CM10 ROM?
Fiber7
Sent from my GT-P1000 using xda app-developers app

I am on aokp jb using humberos kernel (forgot which date)
My point is :
the system reboots you are seeing, it is not because the ROM isn't providing enough free ram. It is something else. Maybe even because the memory manager isn't doing the right thing.
Maybe true that your attempt to free up more ram improves it, but it may just help to avoid hitting the real bug.
Anyway, I am not a dev.
Just a system guy.
I just want to say free ram is wasted ram.
In Linux systems, the kernel grabs as much ram as it can. Not free them.
Sent from my GT-P1000 using xda app-developers app

OK, I see what you mean.
BTW, I can see from the cm10 thread that other people are having the same issue with the device restarting after a while.
Apparently 512MB are just not enough for Jelly Bean.
Fiber7
Sent from my GT-P1000 using xda app-developers app

Err... Not true..
I am using AOKP JB for SGT7 by stimpz0r and no reboots for me.
Maybe cm10 not ready yet
Sent from my GT-I9300 using xda app-developers app

Related

Excessive ram

Running:
Firmware: 2.3.4
Kernal: 2.6.35.7 hardcore speedmod 300hz
Cwm:2.5.1.0
Have encountered an excessive ram
problem even after clearing ram using task
manager, i am using autostarts aswell to
reduce but no,luck, i am at a loss, wether it
could be the galaxy running 2.3.4 i don't
know, any help would be much appreciated.
Sent from my E15i using XDA App
Do you have excessive ram or the other way around (less free ram than you're expecting) ?
And more than that .. don't you think you should share some real values with us?
For example, (I'm running GB JVP 2.3.4) when I'm bootong I'm getting about 130MB of free ram and in the normal usage the free ram reported by the system is ~80-100MB.
Currently in task manager sits around 250 280 lb of ram even after killing off apps. Im at a loss, thinking of just flashing darkys
Sent from my E15i using XDA App
you are fine .. this is the gingerbread behavior from what I know.
Ram is running all the time.Linux maked use of holding things in ram incase the application is used again. Anything in ram doesn't make the system slower, unless you are into precise control and into milliseconds of time-saving.
Adrian.
Sent from my GT-I9100 using XDA Premium App
Thought it might have been gingerbread, I might flash back to a 2.2 early Rom
Sent from my E15i using XDA App
As I said before: Ram is there and powered up. Anything in ram does not use power because it it is used already by the ram.
Sent from my GT-I9100 using XDA Premium App
Alright but I've noticed that the more ram that's in use the slower my phone is.
Sent from my GT-I9000 using XDA App
I've just fashed lite'nin 3.0 and I have no problems. 538 megs of ram is being used and the phone is not slow. I have noticed that some apps can cause a slow or stuttering phone. I have tried a lot of custom roms, Insanity, miui, stock on my sg1, cognition, darky's, stock and litenin on sgs2.
I'm keeping with litenin as I find it to be very stable, good battery and I have found no bugs.
Perhaps you could find out if an app is causing slowness? I have 271 apps and all run ok. Palmary weather caused problems so it's gone. Are you using any cpu frequency apps?
Adrian
Sent from my GT-I9100 using XDA Premium App

How to have more free ram ??

Which kernel should i choose ??
i use DjangoManouche 1.5 now
i have a total of 330mb ram only
any good idea i can do
I believe you have 330 mb because the rest up to 512 mb is reserved for system apps. So you can use root explorer and go to /system/app and remove some system apps you don't use and reboot the phone. Just be careful not to touch stuff that is required for the phone to boot. And no, I don't know exactly which these apps are. But here is a tip: I always remove gallery, news and weather, all google apps, music player, stock email, navigation software if there is any, live wallpappers, file explorer (not before getting another though) and everything that's about visualization in general. These things are safe to remove.
And btw the amount of free ram is pretty much irrelevant to the phone's work because the kernel tries to utilize as much ram as possible and then it gives it away to ram requiring apps for the moment. I am just trying to say that you need not worry about free ram if the phone is working correctly. And if it's not it is most likely not because of used ram but some app is not behaving as it should and is using the CPU too much.
You should consider using a kernel that has OTF settings or a RAMhack. I recommend Etana but for some reason I love Temasek's Kernel. They both have the RAMhack option. It basically takes some of the RAM that is reserved for your GPU and makes it available for your device so you'll have more RAM for running applications etc. You shouldn't set the RAMhack too high though, 32mb/48mb should be fine. Additionally you could freeze some system apps that you don't need and use an autostart-manager in association with a task killer to kill applications and not allow them to restart themselves.
Sent from my Optimus 2X using xda premium
xExabyte said:
You should consider using a kernel that has OTF settings or a RAMhack. I recommend Etana but for some reason I love Temasek's Kernel. They both have the RAMhack option. It basically takes some of the RAM that is reserved for your GPU and makes it available for your device so you'll have more RAM for running applications etc. You shouldn't set the RAMhack too high though, 32mb/48mb should be fine. Additionally you could freeze some system apps that you don't need and use an autostart-manager in association with a task killer to kill applications and not allow them to restart themselves.
Sent from my Optimus 2X using xda premium
Click to expand...
Click to collapse
thank,
but Temasek and Etana's kernel can use in 20s?
complete123 said:
thank,
but Temasek and Etana's kernel can use in 20s?
Click to expand...
Click to collapse
No.
And I heard that ramhack cannot be used with stock rom.
Sent from my GT-P6800 using xda app-developers app
googgiggs said:
No.
And I heard that ramhack cannot be used with stock rom.
Sent from my GT-P6800 using xda app-developers app
Click to expand...
Click to collapse
if some1 comes up with ram hack for stock based kernels ill be back to stock right away...
Gueste OC 1.8.1 stock kernel is awesome. Activate z ram in it and u will have really fast phone .
Sent from my LG-P990 using XDA
heavencanwait said:
I believe you have 330 mb because the rest up to 512 mb is reserved for system apps. So you can use root explorer and go to /system/app and remove some system apps you don't use and reboot the phone. Just be careful not to touch stuff that is required for the phone to boot. And no, I don't know exactly which these apps are. But here is a tip: I always remove gallery, news and weather, all google apps, music player, stock email, navigation software if there is any, live wallpappers, file explorer (not before getting another though) and everything that's about visualization in general. These things are safe to remove.
And btw the amount of free ram is pretty much irrelevant to the phone's work because the kernel tries to utilize as much ram as possible and then it gives it away to ram requiring apps for the moment. I am just trying to say that you need not worry about free ram if the phone is working correctly. And if it's not it is most likely not because of used ram but some app is not behaving as it should and is using the CPU too much.
Click to expand...
Click to collapse
What did I just read?
Don't do what was posted, you'll most likely break everything.
System apps uses system storage not ram. Deleting those apps will not give you more ram. But more system storage maybe.
Ram is used to save the current state of opened applications. Though the reason you only have 330mb left, is cause the gpu uses it as shared memory.
A ram hack is an option, as it reduces the amount of ram that goes to the gpu. But the use of a ram hack over 48mbs will break lots of things, such as recorder, camera and instability in games.
In all honesty, there is no use for a ram hack 330mb of ram is enough.
Sent from my LG-P990 using xda app-developers app
If you use DjangoManouche you have ram profiles, another option are to use swap, the benefits, i'm not sure there are
Like a previous post said.....android are coded to use all ram except the amount needed for system to run smooth, apps you open will then be stored in ram which are the fastest "sd card lol". Next time you open its from ram. If you use many apps its useful with much ram. After reboot you start all over again. If there's a memory leak you can get issues like lagging Best solution are to choose a profile with much ram for apps and not much more than nessesary for system
Our device gets better each day thanks to our amazing devs
Use guestekrnl 1.8.1 and enable ZRam, works a charm. See my recent post in the flix123 v20s thread as well.
What are you planning to do with the free ram?
Sell it on Ebay! :good:
tonyp said:
Sell it on Ebay! :good:
Click to expand...
Click to collapse
I was going to buy a new phone with it ):
Sent from my LG-P990 using xda app-developers app
KoolSavas95 said:
I only have 70Mb free Ram. Using stock. Any suggestions?
Sent from my monster: the LG Optimus 2x using xda premium
Click to expand...
Click to collapse
Get rid of stock, lol.
Sent from my Optimus 2X using xda premium
Dear god, when will people learn that free RAM is wasted RAM?
Hard to get rid of Windows habbit lol
Sent from my LG-P990
To have more free RAM means it has to take some from the normally non accessible system dedicated RAM. This way your device has less RAM for things like graphics which can worsen video playback and record performance.
Sent from my Optimus 2X using xda app-developers app
The opinion free ram is wasted ram is wrong. you should realize it from daily use. its because when you have for example 70MB free and you open browser with some tabs, some game, etc. it closes other apps you dont want or it closes some of the tabs in browser and you have to load them every time you switch them. you need enough free ram to open what you want without system automatic closing other and under 100MB really isnt enough
Subhannn said:
Task manager
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
Hell no!
tomsi91 said:
The opinion free ram is wasted ram is wrong. you should realize it from daily use. its because when you have for example 70MB free and you open browser with some tabs, some game, etc. it closes other apps you dont want or it closes some of the tabs in browser and you have to load them every time you switch them. you need enough free ram to open what you want without system automatic closing other and under 100MB really isnt enough
Click to expand...
Click to collapse
Hell no!
This doesn't make sense. The system will get you the ram you need whenever you need it.
Sent from my LG-P990 using xda app-developers app

Can it take anymore ?

Developer community, hi, I had the S1 for about 2 years and still do, its very good phone yo know , however, what ever I do its too slow! I'm running Android 4.2.2 with over clocked CPU and 400+ of RAM, and sometimes when I leave a small app to main, it take sometime to load the launcher,so what's wrong? Was Google right when it stopped the Nexus S updates at 4.1.2 because it can take any farther? Does project better even exist? The fastest ROM I had ever install was ICS RC2 which worked perfectly (I could run MC3 at background then leave and do some thing else, then want back and its where I have lift it) but I had datadata problem and I had to try something els. Know a days ,some new flagships had less specification than S1 and work smother!, in short words: can I make my phone faster ?
All thanks and appreciates to whom worked to develop this great phone.
Sent from my GT-I9000 using xda app-developers app
Flagship with less specification than s1?
Sent from my GT-I9000 using Tapatalk 2
Yup, Some LG and Sami phones came with the same or less specifications
Sent from my GT-I9000 using xda app-developers app
Well, the more recent phones that come out right now for the low-end market are running alot newer chips than the S1 has. In my opinion, you shouldn't go to far with flashing newer versions of Android. But on the other hand, everyone wants to be on the most recent version of Android. Google had a reason for not pushing 4.2 to the Nexus S. Other manufacturers don't bring out updates for newer phones (for no reason), but Google had a good reason, because the Nexus S' hardware is outdated.
Unfortunately i doubt you can get your smoothest experience in 4.2.2.
If you want pure smoothness you should try a custom 2.3.7 as that would be ideal although i reckon 4.0.4(cm9 base) would do quite a decent job as well.
You have to try out different ROMs and see what best fits your needs.
Is a way that i use it and is good and smooth
But if expect like sg3 no it's not exactly like that but it's close. And don't disturb u
Cause our hardware's are a part of history
I installed 1.2gb apk and work smooth mostly software not game
First;
Buy a sd card high class 10
Format internal storage
Install cm latest version 4.2.2 with Odin
Install kernel like fishear
And set it up
Install cyanDelta
Install auto memory killer and set in optimum value
Install Roehsoft apk and make virtual memory on your external SD
Also never install any luncher cause it's own luncher is very light
and enjoy it
is good for daily works And smooth
Sent from my GT-I9000 using xda premium
Of course 4.2.2 isn't going to be perfect. Pushing Project Butter onto our phone was a feat in itself. The smoothest 4.2.2 I've tried is Slim Bean, which really is pretty amazing. But don't be surprised about the fact that the phone can't handle Jelly Bean as well as it should. Its 3rd year anniversary is approaching fast.
Its still a wonder our single-core can handle it fine.
Sent from my GT-I9000 using xda premium
Hei man I dont know what roms are you using but try thinkingridge stable by aways and the c-rom mix 18...everything is stable at 55 frames per second in the ui...and ofcourse your phone will slowdown if you put a lot of stuff in it...its normal...you cannot pretend that is going to be fast as when you fresh install the rom..my girlfriend's iphone 4 is stock,no mods but still it lags a lot more than my VERY OLD I9000 ...
By the way anyone can give me some advices on a gingerbread rom?a kickass one? I saw a couple of releases in this days...they should be good considering that the developers had plenty of time to improve stability and performances...
Thanks
Speed depends on the kernel/rom your using and the way your using it. My suggestion is GamerzRom and use the greenify app. Try it and you ll see. Ive never had a faster rom!
Sent from my GT-I9000 using xda app-developers app
whatever you decide to do dont use task managers...they just mess with the android sistem and android knows better than you when and how to kill a process...
True i found out that task managers dont really work well
Greenify works the best and alot of people use it
Sent from my GT-I9000 using xda app-developers app
Sent from my GT-I9001 using Tapatalk 2
Hey there,
I HAD the same problem. The 2/3 changes I made was
1.UNDERClock to 800mhz (less stress on phone and less lag
2. Use Nova launcher as default
3. I am running slim bean latest and its fantasiltic
My phone has never run better
Stay away from themes though.
FYI I am a massive app hoarder so you may have a hundred apps on your phone and blame it on that but probability 9/10 isn't.
Hope I helped
Sent from my GT-I9000 using xda app-developers app

Lag gone crazy

I got a replacement SGS and I can't remember that my first was this laggy.it is almost imposable to use.
I have flashed CM10.1 and back to stock 2.3.6 I9000XWJW1. But both are laggy
I did a factory reset en cleared all the cash. is there something else I should do?
Strange things are happening with this phone. If i click the dailer ot takes about a second or two to open en sometimes just closes. Well that seems to happen alot. apps open then closes at random.
When i need to answer the phone it is hard to get the swipe to move. strange
Anyone have an idea what I can try to get this think usable?
It some times feel fast end then it stoppes dead.
flash some lagfix kernel for gb. although i already forgot which thread provides it, try to search lagfix for i9000
Hows your ram? How much do you have free ram? Sounds to me like some apps are taking uo all your ram
Sent from my GT-I9000 using xda app-developers app
RAm
You have to have min 50RAM
darkknigh_t said:
Hows your ram? How much do you have free ram? Sounds to me like some apps are taking uo all your ram
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
My suggestion is try flashing gamerzrom its fast doesnt drain battery and youl have always 100+ mb of free ram and use greenify.
Its the fastest rom alive
Sent from my GT-I9000 using xda app-developers app

What happen to my phone? Apps that I'm using kill automaticly

I have been using stock Rom rooted jellybean for sometime. But one thing really annoy me. It's that,if I use screen filter,music player and browser together at the same time. It close the screen filter and music player after sometime browsing the web. Is this about ram issue? I have tried super charge the service jar to die hard..but the launcher still reload quite often ..any idea?
Sent from my LT25i using xda app-developers app
Try delet blotware via titanium backup, because it seems to RAM problem....
Im now using walkman, facebook and gmail, and also writting this post via XDA app and noone is killed.
Sent from my LT30p using xda app-developers app
Mind show me the list of bloatware?I'm still not familiar with Sony software since I came from htc.. Thought I only disable it in setting..like Twitter..
Sent from my LT25i using xda app-developers app
Do you have root? Or better unlocked BL? Then you can install CWM and any.rom (there are many stockbased too with delered Blotware)
Sent from my LT30p using xda app-developers app
mmm273 said:
Do you have root? Or better unlocked BL? Then you can install CWM and any.rom (there are many stockbased too with delered Blotware)
Sent from my LT30p using xda app-developers app
Click to expand...
Click to collapse
I already stated that i have root....bl unlocked too.. I prefer stock...as it's the most stable of all..but not sure which bloatware to delete.. Is this cause by minfree values?
I have exactly the same problem. System kills many apps when I'm using them. And I have deleted all useless bloatware. I guess I will have to reflash stock JB... You should try the same.
Steven How said:
I already stated that i have root....bl unlocked too.. I prefer stock...as it's the most stable of all..but not sure which bloatware to delete.. Is this cause by minfree values?
Click to expand...
Click to collapse
Yes, it's caused by lmk minfree values.
It looks like the pure stock fw is not so stable.
peetr_ said:
Yes, it's caused by lmk minfree values.
It looks like the pure stock fw is not so stable.
Click to expand...
Click to collapse
Or maybe it's a problem in adj value? I dun think stock value was that high..
Sent from my LT25i using xda app-developers app
Both. Adj tells to lmk what kind of apps to kill and minfree tells when to kill. With our phone (800MB available), we are always out of memory. Settings/apps/running value is a joke. It only tells how much memory is available if you kill apps that can theoretically be killed.
Most of user apps are using adj around 8-12. With lmk values in stock fw, these are killed very often.
This is what I found. But this memory thing is much more complicated (heap size, overcommiting, garbage collector, and who knows what else).
And I think, when the memory is divided into 3 blocks like we have, it also cannot be good.
Because of that all, Z already has 2GB.
peetr_ said:
Both. Adj tells to lmk what kind of apps to kill and minfree tells when to kill. With our phone (800MB available), we are always out of memory. Settings/apps/running value is a joke. It only tells how much memory is available if you kill apps that can theoretically be killed.
Most of user apps are using adj around 8-12. With lmk values in stock fw, these are killed very often.
This is what I found. But this memory thing is much more complicated (heap size, overcommiting, garbage collector, and who knows what else).
And I think, when the memory is divided into 3 blocks like we have, it also cannot be good.
Because of that all, Z already has 2GB.
Click to expand...
Click to collapse
I saw the vm heapsize in my v was 256m and heapsize limit is 64m..so the only solution is change the minfree?
Sent from my LT25i using xda app-developers app
I don't know about any other solution.
Use android tweaker(paid app) or pimp my rom beta(free) to set up better multitasking
After I supercharge the rom, I use die hard launcher... Then things turn out like this
Sent from my LT25i using xda app-developers app

Categories

Resources