Changing heap size? - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

On the latest Go launcher ex beta there's the option to change heap size, with 128 being default, and 48 being 'recommended.' I have no idea what this is, but can it improve the phone performance, and does it come with any drawbacks/dangers? I tried setting it to the recommended 48 and the phone seems to be smoother but I'm not sure.
Also, how will battery life be affected?

I may be wrong but thats the java memory heap size the app will work with. Nothing major would happen if you change it.
Sent from my GT-N7000 using xda premium

128 its perfcet for our 1 gb ram.
48 recommened for phones with 512 mb of ram.
Heap size its virtual bufer for your catch and other ****

Related

[Q] [9001]Ram?

Well as we all know our phones have 512 RAM but only 357 is usable.Why...I realy want the rest of the ram...mostly for multi tasking. So the question is HOW can we increse ur usable RAM to 512...and what system uses the rest...ram...allready when I start my phone the "system" takes more then 154 mb...with 0 apps running.
Choose a kernel with bigmem. They are all pushing 400 MB of available ram on the i9000.
SlimICS is just under 80 MB including Google apps.
To get the most out of multi-tasking you'll want to set the amount of ram the minfree taskkiller will keep, really low, like 25MB.
The 512mb of RAM is devided into two, for systems apps and for the user (you) you get 357mb while the other 100 odd is being used for system processes
Sent from my GT-I9300 using xda premium
Thx all and I understand that the systen uses 100 but what does use the 155 mb when I start my phone; we realy nees to make a kernel that supports at least 400+ mb it will help a lot for multi tasking
VisualTech48 said:
Well as we all know our phones have 512 RAM but only 357 is usable.Why...I realy want the rest of the ram...mostly for multi tasking. So the question is HOW can we increse ur usable RAM to 512...and what system uses the rest...ram...allready when I start my phone the "system" takes more then 154 mb...with 0 apps running.
Click to expand...
Click to collapse
You can't. These phones have 512mb of RAM. ~100mb is used as Shared Graphics Memory like on Intel based laptops and such. The rest is then allocated to the system. This usually leaves around 350mb - 400mb of RAM available.
I'm not 100% on this because I'm new to Android (Had my SGS for 2 weeks). I think when Kernels have "bigmem" or differing amounts of RAM all they're doing is reducing the amount allocated to the GPU and therefore giving the system a bit more to run with.
well that is what i want more ram, "bigmem", if anyone can make it to an kernel for I9001 I/We will be very happy...
Try and apply called RAM BOOSTER PRO to free a lot of ram it's very useful
Sent from my GT-I9000 using xda premium

[Q] Ram manager pro 3.0.2 VM Heap size

So the question is.. Does anybody use the new feature in Ram Manager Pro? U can put VM Heap size up to 128MB.. Which size should be best for our phone? 12, 16, 24, 32, 48, 64, 128MB...
32 or 48...
Sent from my E15i using XDA
Didnt fine any difference useng this app
pipi14 said:
So the question is.. Does anybody use the new feature in Ram Manager Pro? U can put VM Heap size up to 128MB.. Which size should be best for our phone? 12, 16, 24, 32, 48, 64, 128MB...
Click to expand...
Click to collapse
Actually VM heap is easily changed in build.prop but ah well.
Higher value VM heap generally means smoother app performance but greater battery drain and vice versa. I'd say 40MB (manual setting in build.prop) or 48MB is fine for the X8.
Sent from my E15i using Tapatalk 2

Vm heap size for ace s5830i

what is the best vm heap size for a smooth and fast device.? Should it be high or low? I was shocked to see it at 64 by default..It has a total of only 290..
Sent from my GT-S5830i
High is better, try with this values: 96mb or 128mb, 128mb is better than 96mb but if on your device 128mb is too high and after go slow then use 96mb.
Large values are good with heavy apps but your lightweight apps will run slow. 24 is good for texting, surfing. 32 is a balance. 64 is the default stock, though there isn't such a need.
128 is too much.
consegregate said:
Large values are good with heavy apps but your lightweight apps will run slow. 24 is good for texting, surfing. 32 is a balance. 64 is the default stock, though there isn't such a need.
128 is too much.
Click to expand...
Click to collapse
No, high values are always better and instead low values as 24mb and 32mb slow down the device, read about the dalvik vm heap size for understand why.
Sent with my Evil GT-S5570 from Hell
I have only 48 Max in my cyanogenmod rom. My default is 32. Apps are fast enough anyway.
Sent from my GT-S5830 using Tapatalk 2
galaxyace152 said:
I have only 48 Max in my cyanogenmod rom. My default is 32. Apps are fast enough anyway.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
First your rom is custom then the value of dalvik vm heap size for you is different and depend from the settings of your rom, instead for stock rom's and stock settings from samsung 128mb is the best, currently i've setted 128mb on my galaxy mini and works perfect, but however i think that if you put 64mb rather than 32 on your rom surely works better, and as i've already said for understand why is better a high value need understand how works and what do the dalvik vm heap size, then read about the dalvik vm heap size (i already read and i know how works and what do the dalvik vm heap size).
Sent with my Evil GT-S5570 from Hell

Increase RAM??

ok so i was thinking our mini has 384mb ram of which only 280 are available...is there some way to use the whole RAM not only 280mb??
on froyo i had: 279mb ram
on ginger: 280
on ics: 276mb
so why not 384?? whats holding the other 104 mb?
think i found what i was looking for: "MemTotal" = physical memory minus whatever is being shared with devices (such as the radio, DMA buffers, etc), so it will always be less than the advertised RAM for your phone.
am i right??
Use swap it will increase your ram but you must have a good sd card.
Sent from my GT-S5570 using Tapatalk 2
hsay said:
Use swap it will increase your ram but you must have a good sd card.
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
you mean a class 10 card? If so, how do I create a swap partition for my rooted device?
It's because some memory is also used for graphics and other stuff. In ICS it is 279MB, but on JB it's 276 because I have increased framebuffer size for triple buffering etc.. Theoretically, by experimenting, it's possible to get at least 285-290MB.
Me, too..
I have experimenting and the result :
Froyo : 281 MB
Ginger : 279 MB
IceCream : 278 MB
JellyBean : 276 MB
as far as i know, RAM used by :
1. GPU
2. Graphics thing
3. And Other stuff..
Then the rest of them goes to RAM values, so your Mini RAM was around 300 Megabytes, but since GPU, and other things take it RAM just decreased.
I also have a Galaxy Tab 2 7.0 Inc, wich have a 1 Gigabytes RAM, but since other things take it, it decreased into 679 MB (wow, really huge decreased isn't it ? :silly: )
xyboox said:
you mean a class 10 card? If so, how do I create a swap partition for my rooted device?
Click to expand...
Click to collapse
You can create a swap partition from cwm from advanced option then while partitioning SD card select a value for swap. This will completely erase your SD card so make a backup
Sent from my GT-S5570 using Tapatalk 2
Good to know! Thanks @hsay
Sent from my GT-S6500D using Tapatalk 2

Ram or cpu

While using a ics or jb the o.s eats up all the ram but we do have swap to get enough of extra ram required so if we use swap with a good class sd card, is the ram usage still a fact that affects the performanceof these Rom.. Or its just our x8's cpu then, that degrads the performance..
Sidy said:
While using a ics or jb the o.s eats up all the ram but we do have swap to get enough of extra ram required so if we use swap with a good class sd card, is the ram usage still a fact that affects the performanceof these Rom.. Or its just our x8's cpu then, that degrads the performance..
Click to expand...
Click to collapse
it is not problem only cpu,ram we have slow I/O
so if you set up swap on good sdcard it probably will still lag
Swap is not working as you think, your phone wont have more ram. Swap is like windows page file.
Sent from my E15i using xda app-developers app
I have experimented with swappiness, and if I did set it to 0, it didn't swap, even when it was very needed (and that is surprising because it should use swap in case of low RAM, even with 0 swappiness). Apps were closing instead, and the whole system was unstable because of low RAM.
When I set it to 100, it began to swap. It became stable but it was slow because it swapped out a lot of things (it had always 70-80 MB free memory).
So I think setting swappiness to 50 or 60 is ideal (I didn't try it), because it will be stable and fast at the same time.
I made some script files for setting swappiness to 0, 20, 40, 60, 80 and 100, tell me if anyone needs them, and I will upload them.
Also using zRam with normal swap, and 50 swappiness might be a good thing too.
ICS and JB lag on our devices due to both the weaker cpu and less ram.
But if we had around 512 mb ram, ics and jb would run smoother with 600mhz cpu too..
so according to me the ram factor is the one which makes ics and jb lag on our phones.
And about swap, it works only when the ram is below 5-10mb.
so i think that it does not helps us much...
har****group said:
ICS and JB lag on our devices due to both the weaker cpu and less ram.
But if we had around 512 mb ram, ics and jb would run smoother with 600mhz cpu too..
so according to me the ram factor is the one which makes ics and jb lag on our phones.
And about swap, it works only when the ram is below 5-10mb.
so i think that it does not helps us much...
Click to expand...
Click to collapse
But with a higher swappiness you can get at least 60 MB free RAM. Nevermind, it doesn't make ics and jb run smoother. But it's like not the low RAM causes those roms to run slowly. I am using MiniCM7 with 128 MB compcache and it is very smooth, smoother than using normal swap, even when playing very heavy games. And on jb and ics no matter if i use swap or zRAM (128 MB), it stays slow.
Lajbymester said:
But with a higher swappiness you can get at least 60 MB free RAM. Nevermind, it doesn't make ics and jb run smoother. But it's like not the low RAM causes those roms to run slowly. I am using MiniCM7 with 128 MB compcache and it is very smooth, smoother than using normal swap, even when playing very heavy games. And on jb and ics no matter if i use swap or zRAM (128 MB), it stays slow.
Click to expand...
Click to collapse
How did you make 128 mb zRAM?

Categories

Resources