[Q] What is and how works VM heap? - Motorola Droid and Milestone General

Hi
Everybody talk about changing the VM heap value, but... what is the difference after changing it? What about increase its value? And decrease it?
On the CM7 thread adamz667 post this: http://forum.xda-developers.com/showpost.php?p=15065093&postcount=4569
Anyone can confirm that?
Thanks

Increasing cm heap means that apps can use more memory which makes them run faster but then since tbey use up more mem u will have less free memory.
Sent from my Milestone using XDA App

Here you got some definition:
VM Heap Size
The heap is an area of dynamic memory allocated to programs. With a larger heap size, there is more memory for the program and the garbage collector can run more efficiently. Therefore, it is possible to get better performance by setting a larger VM heap size.
However, if you set it too high, you can run out of free memory which can trigger swapping which will degrade performance. Therefore the VM setting is a trade-off.
The optimal value will depend on the RAM on the device as well as the programs and usage patterns, therefore the optimal setting can often only be determined by the user experimentally.
Default value: varies between devices
Click to expand...
Click to collapse
from: http://droidgram.com/forum/8-Android-Dalvik-VM-Heap-Size

adamz667 said:
Here you got some definition:
from: http://droidgram.com/forum/8-Android-Dalvik-VM-Heap-Size
Click to expand...
Click to collapse
Thanks adam, but your post on CM thread was a good theory and this definition it's opposite to your post (a this new one: http://forum.xda-developers.com/showpost.php?p=15092265&postcount=4582)
I only want to know what value use without have to try all of them during days of testing...
Thanks

parads said:
Thanks adam, but your post on CM thread was a good theory and this definition it's opposite to your post (a this new one: http://forum.xda-developers.com/showpost.php?p=15092265&postcount=4582)
I only want to know what value use without have to try all of them during days of testing...
Thanks
Click to expand...
Click to collapse
I have tested all of them today and the best results was with 16mb.
How I was testing it?
Shadow Guardian HD is a very heavy game for MM's ram memory. So I've tested every vm heap size on one and the same level of SGHD, with the same run environment and game was most playable on 16mb (no freezes, reboots, no returns to home screen).

Really 16mb. Which rom? And how far did you get in the game?
Sent from my Milestone using XDA App

thre3aces said:
Really 16mb. Which rom? And how far did you get in the game?
Sent from my Milestone using XDA App
Click to expand...
Click to collapse
I am using CM7rc10 (14.06.2011) I am now in 4th episode (level?) - Medusa Sanctuary.

That is very very interesting. I'm gonna have to give cm7 another chance. Maybe rc10 is a lot better than rc4 (last cm7 I tried)
Sent from my Milestone using XDA App

i also have good performance with 16m tried most settings from extremely large to extremely small...
also png optimized most apps again and again... (which decreased the size of the apps by almost 10mb again - quite sure that it does not make much of a difference)
don't have any app locked in memory and only one homescreen with adw ex without widgets...
dunno till now i have not experienced any issues with lost sms or phone calls...
but i'm aware of that it could happen with my settings so it needs more testing, jit turned off etc. phone works like a charm since i switched from froyomod a week ago or so.
sent from my current location

Are you sure u tried 16 mb. Because I just tried shadow guardian on cm7 rc10 with ur settings and zepplinrox supercharger on balance and tbh it was rather language at times
Sent from my Milestone using XDA App

I've tried jit off and VM heat on 16MB but not get any result.
The launcher was freezing 3 or 4 times, and all games get a minimal improve: 3 seconds more until FC.
I'm testing with: Asphalt 6 and Brothers In Arms 2 (Gameloft games) and Age of Wind v2.2. All versions for MM, with people that play them on stock rom.

thre3aces said:
Are you sure u tried 16 mb. Because I just tried shadow guardian on cm7 rc10 with ur settings and zepplinrox supercharger on balance and tbh it was rather language at times
Sent from my Milestone using XDA App
Click to expand...
Click to collapse
well as i said i do not use that memory intensive apps.
(i think my biggest apps are maps and the browser, and the browser barely goes beyond 30mb, so 2 vm's with 16mb, instead of 2 with 24. but most apps stay below 10mb so i think for my use it is a good solution)
also i debloated the rom massively and replaced most system apps with smaller ones.
cm7 performs very well with this settings, at least for me. (no redraws, no lags in ui no freezes etc...)
like i said i don't use games on my stone
edit: only genie news & weather app reloads often but i think it simply has a high priority.
sent from my current location

That is quite interesting. On ho no I
And 20mb with balanced 3 supercharger works great. But not so well on 16mb
Sent from my Milestone using XDA App

I had tried 16mb weeks ago when somebody suggested it.
That lasted about 5 minutes.
Scrolling between adw screens was brutally choppy.
Swipe finger, wait, look at watch, then bam - the screen suddenly decides to quickly jump to the next screen...

zeppelinrox said:
I had tried 16mb weeks ago when somebody suggested it.
That lasted about 5 minutes.
Scrolling between adw screens was brutally choppy.
Swipe finger, wait, look at watch, then bam - the screen suddenly decides to quickly jump to the next screen...
Click to expand...
Click to collapse
I've got the same with 12mb vm heap. But when I use 16mb everything works fine on CM7 and HO!NO! CM7. Maybe it depends on rom/apps you use and your own configuration.

I guess.
But I'm used to fast, smooth and lots of free ram no matter what rom I'm using
Sent from my Milestone using Tapatalk

adamz667 said:
I've got the same with 12mb vm heap. But when I use 16mb everything works fine on CM7 and HO!NO! CM7. Maybe it depends on rom/apps you use and your own configuration.
Click to expand...
Click to collapse
yeah 12mb is to small... experienced some errors with it too.
i have to say that for me everyhing between 16 and 32 mb seems to do not do much of a difference, but with 32mb my system uses some more RAM right after boot.
after a while it usally uses less (around 80-90mb sometimes less, sometimes more) so i normally have around 60mb free RAM, which seems to be enough.
i'm out of this discussion for now, but i have to say that i rly think ur VM Heap settings should match the apps u use.
so just try different settings.
@Zeppe
yay never experienced that, but i use only one Homescreen anyway. and ADWEX is rly memory friendly : )
sent from my current location

Related

[Q]What filesystem in Milestone? Lagfix and hw acceleration, possible?

Hi.
Anyone tried to improve performance like on the SGS in changeing filesystem?
Also is the hw acceleration possible, adding a line in the biuld.prop file to enable gpu in scrolling etc?
I must say that my lg p500 on cyanogen7 is much snappier, and milestone can be choppy sometimes. I feel also that qualcomm processors have better performance in the system than milestone's TI. Omap.
I know that p500 has more ram, but I feel like someting is wrong in the milestone that slows down a bit. I know that hvga is more than 2x less pixels than wvga, but still, maybe some hacks will help. Lagfix and HW acceleration helps on many android phones from lg, samsung etc.
HW acceleration is enabled by default.
My Milestone is actually very smooooooooooooth..... and snappy!
Yes, unbearable without SuperCharging it, but effing awesome with SuperCharging
zeppelinrox said:
My Milestone is actually very smooooooooooooth..... and snappy!
Click to expand...
Click to collapse
Interesting What ROM did you use? and What overclock frequency?
At the moment CM7 at 1100mhz.
But come to think of it, I don't think I need 1100mhz anymore lol
I'm often "underclocking" it to 800mhz without really noticing too much difference.
But the main thing is, any ROM would fly with supercharging
Go on, ask him wat supercharging is!
Sent from my Milestone
LOL it's in my sig
You Canadians are funny
oh wait...
zeppelinrox said:
LOL it's in my sig
You Canadians are funny
oh wait...
Click to expand...
Click to collapse
Us Canadians are awesome! Hehe
Did you see that CM7 final release is out for Milestone? He said he tweaked the memory a bit.
ya I looked.
It looks alot like my v5 gscript in that he put the launcher in it's own spot with priority 2 and same kill threshold.
I put it in the second slot but he put it in the 3rd slot.
He also pushed the big chunk of apps (secondary server) down the list to the 5th slot from the 4th whereas I had moved them up from the 4th to the 3rd.
But he increased the memory limit so that chunk of apps actually start getting killed at 24 mb!
Previously, those apps weren't getting killed until ram got down to 16mb so it's actually a very big change.
So by default, it may actually behave like my Balanced 1 v5 gscript. heh.
The difference is the Heavy Weight App. We both have it in the 4th slot but in CM7 Heavy Weight App is more protected and has more priority than secondary server (the big chunk of apps) whereas I have secondary servers as being more important.
I want to see what apps fall in that heavy weight category before my update
Will the fact that apps get killed at 24MB now instead of 16MB affect the way that you can now bulletproof two apps in this recent update? Because he warns that it is RAM intensive, but what does it do to the apps in the other slots?
It just means if you're bulletproofing an app, another app that you're not paying attention to will get killed instead of the one you want to keep running. But it would bounce back anyway and something else would get killed.
They just play musical chairs and take turns updating once in awhile.
btw, I adjusted the minfree on my phone and gave heavy weight it's own slot but there is no apps in that spot at all
I run stuff and let it sit and keep refreshing but I never see a heavyweight.
Braidonh said:
Go on, ask him wat supercharging is!
Sent from my Milestone
Click to expand...
Click to collapse
You are right! What on earth is SuperCharging???
I googled throug XDA and i cant find a clear meaning of SuperCharging
Yea, supercharge tweaks are great. So maybe changeing the filesystem? Some people said that it wont do any boost, but maybe its worth trying.
I disabled dsi bug workaround and phone is flying on adw ex. I definitely need supercharge script as phone lags sometimes in different apps after some time.
And swap would be nice on our stones, but nobody knows how to do it by kernel module.
Try the super test script on page 38 of my thread.
My next update will be based on that with different minfree values
Sent from my Milestone using Tapatalk

Is it just me, or is Froyo faster than Gingerbread?

When I bought my galaxy s, it was on a 2.2 rom, though I don't remember the exact name. After a while, I flashed it with ZSJPK 2.2.1. Then, I went on to use JVP, JVQ and now, JVR. However, I felt that 2.2 and ZSJPK were both smoother and less laggy than JVP and JVQ. JVR is nearly as smooth as the two froyos, but it's RAM drops to very low levels, 70-80Mb after a day's usage. So, my question is, does anyone else experience such a thing in which their froyo roms were faster/less laggy? Or could it be that I somehow missed something when flashing the gingerbread roms? Thanks.
Why do you care about the RAM being "so low". Memory management works different in Linux than on MS systems. Android (or the underlying linux kernel) keeps apps in memory as long as possible to make a re-start of the app faster. As soon as the memory is needed by a different app, the memory is freed anyway.
My desktop with 4 GB RAM does the same on Linux: 64 MB are free, but if I take buffers and cache into account 1900 MB are available in case an application needs it....
I experienced a better battery life with smoother operation in every day use after installing GB (I guess first that was I9000XXJVK). This got only better with JVH, JVO, JVP, JVQ, JVR and now JVS.
I wouldn't care about the RAM, actually. But whenever my free RAM drops to below 80Mb or so, the phone begins to lag, because it has to close certain processes in order to start up the apps. Also, when the RAM is low and when I try to play certain HD games like the gameloft ones, the phone sometimes crashes.
elhennig said:
Why do you care about the RAM being "so low". Memory management works different in Linux than on MS systems. Android (or the underlying linux kernel) keeps apps in memory as long as possible to make a re-start of the app faster. As soon as the memory is needed by a different app, the memory is freed anyway.
My desktop with 4 GB RAM does the same on Linux: 64 MB are free, but if I take buffers and cache into account 1900 MB are available in case an application needs it....
I experienced a better battery life with smoother operation in every day use after installing GB (I guess first that was I9000XXJVK). This got only better with JVH, JVO, JVP, JVQ, JVR and now JVS.
Click to expand...
Click to collapse
An Android with free ram available is still much faster than an Android phone that continues to swap.
I've done tests in regards to this in System Panel. Plus on occasion whenever I clear my Dalvic Cache, I usually double my memory in System Panel, and my phone feels like "day 1" fast...
Sent from my MB860 using xda premium
ccrows said:
An Android with free ram available is still much faster than an Android phone that continues to swap.
Click to expand...
Click to collapse
Where should the mem be swapped to? Android does not swap if there is no swap device or file specified.
elhennig said:
Where should the mem be swapped to? Android does not swap if there is no swap device or file specified.
Click to expand...
Click to collapse
I'm saying that there is a benefit to freeing up ram...
Sent from my MB860 using xda premium
ccrows said:
I'm saying that there is a benefit to freeing up ram...
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
Yeah, it's beneficial to have free RAM rather than to have to free up the RAM when you need it. If you already have free RAM, running a new application is fast, but if you don't, you cpu needs to free some RAM first before it can load a new application, hence causing some lagginess. That's what I meant when I said that froyo seemed faster, especially after a day of usage.
I was using Froyo for quite a long time before giving a chance to Gingerbread. And I must say I regret I didn't give a chance to GB earlier as the phone is "flying" now. At least for me it was a good switch. When I bought my SGS it was on 2.1 (Eclair) which was a real laggy disaster.
stiwipl said:
I was using Froyo for quite a long time before giving a chance to Gingerbread. And I must say I regret I didn't give a chance to GB earlier as the phone is "flying" now. At least for me it was a good switch. When I bought my SGS it was on 2.1 (Eclair) which was a real laggy disaster.
Click to expand...
Click to collapse
Which froyo build were you using? Because the earlier froyos, ie 2.2, were rather lousy. I'm comparing 2.2.1 with 2.3.4

Less free RAM after v20 GB upgrade

Anyone encounter the same issue? Used to have around 180mb before upgrade. Now most times less than
100Mb
Sent from my LG-P990 using XDA App
Not less than 100MB but also less than with Froyo.
cheeese said:
Anyone encounter the same issue? Used to have around 180mb before upgrade. Now most times less than
100Mb
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
Get a task manager and kill some tasks then, after killing tasks and only excluding stuff i need, eg. messenger app, music ect i get 205mb free ram and never go below 100mb.
I did still?at most 120 only.
Sent from my LG-P990 using XDA App
OMG guys, why don't people get this:
Free RAM is wasted RAM.
/thread
kiljacken said:
OMG guys, why don't people get this:
Free RAM is wasted RAM.
/thread
Click to expand...
Click to collapse
Because your phone slows down when it gets below 100mb, don't bother arguing that because i know from experience that my o2x slows down and becomes choppy when the free ram goes below 100mb, because there is so much crap stored in memory.
If i need something to run ill run it and leave it there and exclude it from task manager but other wise its no use.
Its also a huge battery drain to have so many apps running that you are not using so that's a pretty stupid statement...."free ram is waste ram" lol wtf...., your battery life must be really long.
As for OP, i suggest you install a better rom, i use topigigis 1.7 rom and after killing a bunch of tasks i get up to 205mb free, altho this gets less the longer it goes without a reboot, so try rebooting and hen killing some useless tasks and see what your ram level is at.
eraldo said:
Because your phone slows down when it gets below 100mb, don't bother arguing that because i know from experience that my o2x slows down and becomes choppy when the free ram goes below 100mb, because there is so much crap stored in memory.
If i need something to run ill run it and leave it there and exclude it from task manager but other wise its no use.
Its also a huge battery drain to have so many apps running that you are not using so that's a pretty stupid statement...."free ram is waste ram" lol wtf...., your battery life must be really long.
As for OP, i suggest you install a better rom, i use topigigis 1.7 rom and after killing a bunch of tasks i get up to 205mb free, altho this gets less the longer it goes without a reboot, so try rebooting and hen killing some useless tasks and see what your ram level is at.
Click to expand...
Click to collapse
Free ram is wasted ram. And taskkillers will only make you battery life worse if not some app is using all the cpu. The reason RAM is used by android is to keep apps preloaded, for better launch times. The built in task handler is all what is needed. My phone runs blazingly fast at all times, and I don't use a taskkiller.
yupe.. Mine is mostly below 100mb.. 70mb on average. but it's smoother than froyo with 140mb.. list of applications and files are faster to load and smoother.. so i have no complain at all.
I'm also experiencing the lower free memory in the default configuration with GB compared to Froyo. Although I'm not trying to get as much free RAM as possible (because I support the reasons given above for usage of the RAM, having apps in there doesn't mean that they're running) I'm still curious where the missing amount of memory went... Does anybody have any clue what was introduced or changed with GB that could use up about 70MB?
kiljacken said:
Free ram is wasted ram. And taskkillers will only make you battery life worse if not some app is using all the cpu. The reason RAM is used by android is to keep apps preloaded, for better launch times. The built in task handler is all what is needed. My phone runs blazingly fast at all times, and I don't use a taskkiller.
Click to expand...
Click to collapse
Oh really and what is your logic for thinking having no unused apps running will use more battery than having lads running.....you make no sense an have no logic or fact to back up such a ridiculas assumption.
Sent from my LG-P990 using XDA Premium App
kiljacken said:
Free ram is wasted ram. And taskkillers will only make you battery life worse if not some app is using all the cpu. The reason RAM is used by android is to keep apps preloaded, for better launch times. The built in task handler is all what is needed. My phone runs blazingly fast at all times, and I don't use a taskkiller.
Click to expand...
Click to collapse
Clearly you've been on cm7 so long you forgot how bad stock is..
Stock firmware for my phone was horrible and backgrounding was working for only seconds due to lack of ram, Opera would never background, always a new boot.
Cm7 > stock
Sent from my Optimus 2X using Tapatalk
I m on stock v20 ROM. Sometime my fone will b sluggish and it seems like e low RAM is causing it. Also wondering where e RAM went After upgrading.
use supercharger
Code:
http://forum.xda-developers.com/showthread.php?t=991276
And there's a bug in original stock kernel about memory management, horse power kernels are better for that.
Its not just about the rom your choosing its about the kernel, flash a good kernel and it will improve memory usage.
So does flashing custom kernel void e warranty and does it need rooting? Which is e best kernel for stock ROM v20?
Thanks
Sent from my LG-P990 using XDA App
cheeese said:
So does flashing custom kernel void e warranty and does it need rooting? Which is e best kernel for stock ROM v20?
Thanks
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
Yes most of the time and Yes. Some providers accept phone customization in warranty, ask yours.
If you have v20L you only have Horse Power kernel (Neoblaze seems bootloop) + Power pack 7 (mandatory, orbootloop, see dedicated threads).
If I reflash my phone using one of the original images availabe and reset it, is there any chance for the provider to detect previous flash operations?
Striatum_bdr said:
Yes most of the time and Yes. Some providers accept phone customization in warranty, ask yours.
Click to expand...
Click to collapse
cheeese said:
So does flashing custom kernel void e warranty and does it need rooting? Which is e best kernel for stock ROM v20?
Click to expand...
Click to collapse
Befor i flashed hp sr2 i had 70 to 90 mb free ram now i had 130 to 150 free ram and my baterry seems better.
Sent from my LG-P990 using XDA App
I'd tend to relate the better battery life to the new kernel than the increased free ram. I'm on RC9 (w. PP7, no init.d-scripts) and my LGOS reaches almost two days of battery standby with ~50-60MB free RAM.
luka2858 said:
Befor i flashed hp sr2 i had 70 to 90 mb free ram now i had 130 to 150 free ram and my baterry seems better.
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse

Low free RAM on ICS

Hello all XDA devs and users!
I've decided to run a new thread becasue recently a few users (including me) had a discussion about low free RAM available on our ICS roms and kernels (different ones i.e. Infinitum + Devil kernel, CM9 and others).
What I have found on my devices after running a couple of days without restart I end up with 40 - 50 MB of free ram with Devil XL kernel (389 MB), where the other users with similar configuration have more than 100 MB.
I know that some of you might say, this is how the Android handles the RAM and that is good when most of the memory is consumed. I would totally agree with that however when there is around 40-50 MB left, the phone starts to perform slower and starting another app result in lags.
I do not want to use any task killers because what I have read, they simply do not work well with android (see rule above).
Maybe some of you have an experience or knowledge, why on some devices there is more than 130 MB of RAM left even if there are 8 - 9 apps running (i.e. services) - after couple of days and on some others there is only 40-50 and phone lags more and more.
Reboot the phone everyday when you're having a shower.
beardedwonder said:
Reboot the phone everyday when you're having a shower.
Click to expand...
Click to collapse
Thx for the tip, but I do not see this as a good solution. It's hard to predict when or how often the phone gets slower due to low Ram available.
Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
Play some good games that require higher system requirements once in a while. You'll have a lot of free ram (around 200+ cm9 nightly).
Sent from my GT-I9000
i always get min 130 mb amount of ram and i dont restarted phone for 6 days.
(ICSSGS RC4.2 + Devil xl VC 0.72)
~N.A.W.Y~ said:
i always get min 130 mb amount of ram and i dont restarted phone for 6 days.
(ICSSGS RC4.2 + Devil xl VC 0.72)
Click to expand...
Click to collapse
That's the proof that RAM doesn't get consumed by the android system after a day or two.
Do you use any task killers or modification to your system?
Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
vitoski said:
That's the proof that RAM doesn't get consumed by the android system after a day or two.
Do you use any task killers or modification to your system?
Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
Click to expand...
Click to collapse
nope.. only using this config with 1200 mhz overclock.
i also not restarting phone.because fearing for that damn bootloop on these new huge mem config kernels
You can flash Semaphore Kernel sbm, it gives 410MB of RAM, the HD recording gets broken but i think its a good sacrifice for a good performance.
-Dante- said:
You can flash Semaphore Kernel sbm, it gives 410MB of RAM, the HD recording gets broken but i think its a good sacrifice for a good performance.
Click to expand...
Click to collapse
Yes I can but the point is that the more available RAM will be eventually taken by the system at the end of the day. Increasing more RAM by the kernel will not help here. Right now I have Devil with 389 so only 20 mb less than with semaphore but still more as with the default kernel.
Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
I notice this as well. You have to either run a Rom that includes a low memory killer, e.g. aokp. Or you need to use a kernel where you can set the lmk, e.g. semaphore. I think if you don't do either of the above, the default free ram is around 45-50mb. I am using aokp with midnight kernel at the moment, with free ram set to 75 mb free.
Sent from my GT-I9000 using XDA
tips -
try GO
Menu > Setting > Developer options > Background process limit
set to 4
u shuold have more ram most of the time~should be always above 60 around 100
give u best multitask also, i feel got bug but i really dun no which and what is it...
but it still ok for daily use
I got 220mb free with many process. But on miui and aokp its arround 50.
Sent from my GT-I9000 using Tapatalk 2 Beta-6
Ok i reckon the best way to improve RAM and system memory is by using this tweak.
I have around 120mb also and multitask around up to 4-5 apps without it closing.
I use ICS btw.
Ok go to google or XDA search and type supercharger, follow instructions and Wolla, U should have about 120mb of RAM all the time.
If that is to hard for you here is a simply method. Go to Play Store and type RAM manager (PRO). there is a free version but its not that good. Trust me the PRO version is way better, buy the app and use it!
It is really good!
THX guys for all concepts and advices!
After a couple of tests and research I've done so far there is one method that simply works perfect for our SGS devices.
No matter how much free RAM you push from the kernel (THX to all DEVS for BM kernels) we will not have enough free RAM for the hardware our phones have. I my opinion SAMSUNG simply f**** up here and gave not enough RAM for the phone that can act so fast and handle pretty resource hungry apps and games(
I have used 'Supercharger' script extensively when I was on GB Roms. It did pretty good job, nevertheless you always end up in the situation where more RAM is needed. In this case 'Android' (LMK) kills running or buffered apps to make new rom for the app you started.
Some time ago I have compared GS2 with GS1 against RAM. The key thing why S2 works so well is amount of RAM. Even if the system is loaded and RAM reserved for GPU and sensors the S2 has at least 500 MB FREE, which we will not have never...
SOLUTION:
The solution I have found (in fact it was not me, I simply started to using it) is SWAP. Recently one of the greatest kernel devs (DerTeufel1980) here on XDA published his kernel (Devil v0.79) with SWAP option enabled. If you create a partition or file with apps from Google Play store (like the pagefile in MS Win) you have more RAM (not physically, but still apps are being loaded into swap file).
I was doing some tests few minutes ago and got that:
- 10 tabs opened in ICS+ browser (each was unique - not Google search)
- Any.DO
- QuickAccess
- PowerAmp
- Snowstorm
And I could access every single app quicker than ever before. In fact I could not start 10 tabs in web browser not to kill launcher before or any other app I had buffered in RAM.
For those of you who are wondering if that is a good solution I can say that you should try it. If you do not like it will not use it and stay with kernel and LMK you have now.
I am happy with that so far and of course will do some more tests.
Autostarts
I use an app called Autostarts which you can purchase in google play store. What it does it stops apps from starting up on there own, you wont believe how many apps start up when they are not needed e.g - when you plug the charger in Google Mapps will start up in the background or when Wi-fi is switched on the calender will start up and run in the background, why??? i havnt got a clue but with Autostarts you can pick and choose which apps you want to start or not. I've used it for the past 8 - 12 months and i cant fault it one bit. I'm on AOKP Milestone 5 SGS at the mo and i always have between 170mb & 210mb of Ram availible because i stop uneccessary apps from starting up
i'm using ics with many running service as i can,and i never get lower than 80...gtalk,viber,Y!,any.do,gesture search,and so on...
1-first of all,try NOT to kill useful and auto restart-able apps like the ones u use sometime your widgets of course!;in my case it includes viber,facebook,any.do...
cause in every restart android lost a little of ram,and it cant recover that anymore
2-try disabling location service and force close google maps(if you've installed),it really helped me!
3-try "auto start manager" apps
4-use system tuners and tune ur ram auto kill levels.
i've tested many combinations and found 16,32,40,50,50,80 with GB 2.3.4 acting nice to me,but now i have 14,19,24,32,37,50 on ics 4.0.3 CGen.Mod and i had no problem so i didn't bother myself to test any other combination
Rebooting doesn't really help. Limiting background processes or ReChild's Advanced Task Killer as an easy solution. 400mb kernel and/or force closing/disabling apps, clearing cache if you know what you're doing.
If you're flashing CM9 nightlies every few days, you won't have too many troubles with free RAM.
Did anyone try CM9 SNAPSHOT? any reviews? Also when a new nightly comes out..is it getting better? ..in short ..devs..must be implementing new changes..
Correct me if i am wrong
Thanks
Shoot, I have just started similar thread..
http://forum.xda-developers.com/showthread.php?t=1632914
Abyv said:
Did anyone try CM9 SNAPSHOT? any reviews? Also when a new nightly comes out..is it getting better? ..in short ..devs..must be implementing new changes..
Correct me if i am wrong
Thanks
Click to expand...
Click to collapse
im running snapshot as of now. no problem so far. battery seems better.
never try 02Apr build. dont see any interesting fix on the release. Basically i will just try it if the fix is interest me. well that just me.

[Q] about Galaxy Mini RAM Processing

Hi Guys
I have a few question about our device RAM
1. What are you doing if your device get lagging or slow down?
- Kill App using Taks Killer to refresh your RAM?
- Just Reboot the device to reset your RAM?
- Leave your device (LOL)
- what about you? have an opinions?
My Device get slow down while browsing after >20Min, I think the reason because the RAM goes down or less than 25MB.
then my device got freeze and reboot automatically.
I hear an issue about task killer app thats bad for our system.
so I'm using app like RAM Manager or Watchdog.
2. How much RAM are you running to get stable?
My device at startup have remaining about 100~125MB RAM.
and after a few hour its goes down about <70MB.
while browsing its about <50MB. this is normal?
how about you?
I'm Running CM9 (ICS 4.0.4) right now.
Its very stable, but goes crazy after RAM run under 50MB.
I'm need your opinion guys to make RAM more batter.
Thanks for your advice.
Sorry for my bad English.
Quick reply : use a RAM/performance optimizer like adrenaline engine or another script... Uninstall others RAM manager and let me know (you find it in developing section)
Inviato dal mio GT-S5570 con Tapatalk 2
If you are using AOKP, in performance settings there is low memory value, try adjusting it.
Never ever 'clear' your RAM, it will worsen your battery. Android is capable by managing the RAM by itself if it gets high. So there is no question whether the RAM meter would blow if it gets full. Read more : Article by Lifehacker
simonekamikaze said:
Quick reply : use a RAM/performance optimizer like adrenaline engine or another script... Uninstall others RAM manager and let me know (you find it in developing section)
Inviato dal mio GT-S5570 con Tapatalk 2
Click to expand...
Click to collapse
Hmm, I'll try to using some script like thats.
I never try it before cause ICS compatible, I'll try if you said so
TheWhisp said:
If you are using AOKP, in performance settings there is low memory value, try adjusting it.
Click to expand...
Click to collapse
Thanks Again Whisp
I'll try the perfomance
coolsandie said:
Never ever 'clear' your RAM, it will worsen your battery. Android is capable by managing the RAM by itself if it gets high. So there is no question whether the RAM meter would blow if it gets full. Read more : Article by Lifehacker
Click to expand...
Click to collapse
yeah, I know that. Thats way I using RAM Manager not using Task Killer App.
I tried to believe my device can control RAM it self, but in the fact after a few hour my device got freezing then reboot its self (This problem often encountered when browsing)
Thanks for the Advice guys,
I think the most problem it from our device it self, you know this is Low Device right?
so I cant expect much about the device
but I'll try to find for the best RAM tweak/setting.
Sorry about my bad English
ichaloned said:
Hi Guys
I have a few question about our device RAM
1. What are you doing if your device get lagging or slow down?
- Kill App using Taks Killer to refresh your RAM?
- Just Reboot the device to reset your RAM?
- Leave your device (LOL)
- what about you? have an opinions?
My Device get slow down while browsing after >20Min, I think the reason because the RAM goes down or less than 25MB.
then my device got freeze and reboot automatically.
I hear an issue about task killer app thats bad for our system.
so I'm using app like RAM Manager or Watchdog.
2. How much RAM are you running to get stable?
My device at startup have remaining about 100~125MB RAM.
and after a few hour its goes down about <70MB.
while browsing its about <50MB. this is normal?
how about you?
I'm Running CM9 (ICS 4.0.4) right now.
Its very stable, but goes crazy after RAM run under 50MB.
I'm need your opinion guys to make RAM more batter.
Thanks for your advice.
Sorry for my bad English.
Click to expand...
Click to collapse
To be honest...my device never slows down.
I suggest adjusting the ram values a little higher but not too high. Like with the visible and foreground one might freeze ur phone . Play with it.
Sent from my GT-S5570 using xda premium
KoperKiller said:
To be honest...my device never slows down.
Click to expand...
Click to collapse
Can you share, what app are you using?
a GB or ICS user are you?
GB are more stable than ICS
If my phone just standby is very stable, if just use for like messaging, FB, chatting or similliar like that.
but if you go browsing for >20Min, I think you can feel it.
musashihatred said:
I suggest adjusting the ram values a little higher but not too high. Like with the visible and foreground one might freeze ur phone . Play with it.
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Adjusting the RAM values?
how can I adjusting the RAM values
sorry for my bad english
Try out the V6 SuperCharger script by zeppelinrox, my phone flies with it and you can adjust min memory and other values how you want Definately give it a try!
domcale said:
Try out the V6 SuperCharger script by zeppelinrox, my phone flies with it and you can adjust min memory and other values how you want Definately give it a try!
Click to expand...
Click to collapse
it sounds promising
but the method will takes so long
I'll try, thanks for advice.
==================================================
Edited
oh WTH, my eyes starting throw out the tears while read that intruction.
this will takes long time. thats different while using ICS oh my .....
Trust me, it's worth it, and it does not take that much time even if you find yourself unhappy with the script
Just use swapped from android market and set swap value 250-300 and reboot you will surely.see.the.difference.
Sent from my GT-S5570 using XDA
Swap slowes down your phone...
domcale said:
Swap slowes down your phone...
Click to expand...
Click to collapse
Installing SuperCharger on ICS done
SuperCharged 100% :victory:
Installing the SuperCharger on ICS are different because su binary.
but now all is done
I dont know about difference, I'll test it now domcale
On progress :
"Optimizing Application ....."
Thanks anyways

Categories

Resources