VM Heap Size - Samsung Galaxy Nexus

How will lowering the VM Heap Size from 256m to say 128M effect my phone? Will it give me more RAM to allocate to apps I use or will it not give Android OS enough RAM to run efficiently?
Thanks
Sent from my Galaxy Nexus

KurioHonoo said:
How will lowering the VM Heap Size from 256m to say 128M effect my phone? Will it give me more RAM to allocate to apps I use or will it not give Android OS enough RAM to run efficiently?
Thanks
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
You could just have searched a bit..
Check this out. Google has a lot more results, tag: "android vm heap"

Related

VM Heap Size 24m vs 32m

what does the vm heapsize effect and also which one is better setting to set it at?
I guess no one can answer a question? This is the Q&A section correct.
Bump! I would also like to know the best setting.
I'm curious myself
Sent from my Incredible using XDA App
mjohnson4580 said:
I guess no one can answer a question? This is the Q&A section correct.
Click to expand...
Click to collapse
did you ever get an answer or find out ?
40 I believe is the best setting
Deck's + SZ + SuperCharger script + ViperMod script.
VM heap size affects, in short, how much room your larger apps have to breathe. If you set it at 32, an app will not be allowed to use more than 32mb. Setting it too low will result in force closes because apps don't have enough room to run. Setting it too high can result in memory management issues because you have too many apps using too much memory.
VM heap size is usually increased. It'll help apps like your launcher run more smoothly. What size is best for you depends on your phone, what rom you're running, etc. Just experiment and find what you like best by moving up a little at the time. 40-48 is usually a good number. I've used as high as 64 before without problems, but 64 probably wouldn't be good for a Sense 3.0 rom.
Sent from my PC36100 using Tapatalk

Does yourDesire Hd really have 768 RAM????

Sorry if this is a noob question, this is my first android phone and do not fully understand android of yet.
Basically going to settings >>> Applications >>> Running services.
At the bottom of that screen you see Other : a mb Available b mb + c mb in 46
I understand one is memory used by essential processes, available and memory which can be freed up but what i don't understand is why it does not add up 768? and only around 520 mb?
Some of you RAM is taken up by the HTC Fast Boot feature. Around 80~100MB is used.
in adb shell type free and it will show around 630MB available, the rest is used for Radio and GPU
andyharney said:
Some of you RAM is taken up by the HTC Fast Boot feature. Around 80~100MB is used.
Click to expand...
Click to collapse
so disabling fastboot is advised?
Why? Do you really need the 768MB of RAM? What are you running? Photoshop? 768MB RAM is enough for a loooong time!
BazookaAce said:
Why? Do you really need the 768MB of RAM? What are you running? Photoshop? 768MB RAM is enough for a loooong time!
Click to expand...
Click to collapse
It's not a question of needing, I was just enlarging my knowledge on the subject.
Gurps777 said:
It's not a question of needing, I was just enlarging my knowledge on the subject.
Click to expand...
Click to collapse
Theoretically, it is possible. Try it out and see what happens and report back. However, it is also possible that the device saves some ram for hardware acceleration/graphics memory like the HD2 did...

[Q] Ram doesn't add up? (Not the usual question)

Hello,
So I just recently got my Nexus, and I'm really really loving it. I had a question about the RAM. I'm on stock un-rooted and I noticed I had a little less that 700 MB ram. I know that's for system or gpu or whatever so I'm ok with that.
What I'm confused about is, I'm currently using 400 MB of it. If I combine the totals from the "Running Apps" section plus what is in the "Cached" section, it doesn't come close to the total 400MB being used.
So where is the extra Ram being used from? How can I free some of it up?
I've been reading that task managers are a no-no for ICS, so I'm more curious about which apps are killing my ram.
Thanks in advance
ellimistx99 said:
How can I free some of it up?
Click to expand...
Click to collapse
Why would you want to?
killing my ram.
Click to expand...
Click to collapse
Killing it how? Using it to make you phone react faster?
beren28 said:
Why would you want to?
Killing it how? Using it to make you phone react faster?
Click to expand...
Click to collapse
Well sure in theory make the phone run faster. I imagine having more free ram available to be used in the cached application section and not the "running application section" will help make apps load quicker too. My friend had a desire and the amount of ram she had did drastically effect her phone performance.
But also because I'm curious about where is that extra 200 or so MB of ram is being used from?
Linux shares ram within apps/processes in a very complex way where even the experts have difficulty explaining exact tallies on ram levels. This is why different apps report different free ram values like os monitor vs system panel vs stock settings etc. So i wouldnt wprry about how android OS shows your ram value in settings, its not gonna add up and its a tricky question to ask.
RogerPodacter said:
Linux shares ram within apps/processes in a very complex way where even the experts have difficulty explaining exact tallies on ram levels. This is why different apps report different free ram values like os monitor vs system panel vs stock settings etc. So i wouldnt wprry about how android OS shows your ram value in settings, its not gonna add up and its a tricky question to ask.
Click to expand...
Click to collapse
Hmm alright. So basically it's not something I should worry about? It's quite a large discrepancy. I guess I'll worry about it once I have errors that are "low ram" or something to that effect.
Thanks anyway
It's the discussion like there was in the galaxy s forum. The not displayed ram is used by the kernel it self and by the GPU. And besides it's a good thing to have a full ram in Android, because then many apps are pre loaded in the ram and can start faster this way.
Sent from my Galaxy Nexus using XDA
ellimistx99 said:
Hmm alright. So basically it's not something I should worry about? It's quite a large discrepancy. I guess I'll worry about it once I have errors that are "low ram" or something to that effect.
Thanks anyway
Click to expand...
Click to collapse
Its always been like this on my android phones, i wouldnt worry. For example if you kill all current apps, you wont see free ram increase at the exact level of the total of all closed apps. Too much overlap and ram page sharing i think.
Don't worry about it. Some ROMs e. the stock ROM, don't have a seperate RAMDisk.
So, basicly, the ROM dumps some cached processes on to the RAM directly "clogging" it. If you however, have a custom ROM, eg. CynagonMod, the system uses half of the RAM it would use as a stock ROM, because cm uses a RAMDisk, which uses a minimal amount of space, on the device's memory.
But, there's absolutley nothing to worry about
Enjoy the phone and leave the RAM, as it is
Can anyone here tell me how to partition my sd card to create 1 ext4 partition to increase internal memry, 1 simple fat partition for daily use, and most importantly gto create 1 swap partition to increase my RAM and how to use it as RAM in galaxy fit ... Plz provide me a tutorial
Sent from my GT-S5670 using XDA
abhinav2196 said:
Can anyone here tell me how to partition my sd card to create 1 ext4 partition to increase internal memry, 1 simple fat partition for daily use, and most importantly gto create 1 swap partition to increase my RAM and how to use it as RAM in galaxy fit ... Plz provide me a tutorial
Sent from my GT-S5670 using XDA
Click to expand...
Click to collapse
The Galaxy Nexus doesn't have an SDcard. You can't partition it up like that.
Also, think you're in the wrong forum.

(Q) Vm Heap Size ?

Hi Guys i want ask about vm heap size for my galaxy w Default vm heap size 64 in my rom i changed 48 m < who is can give me Best heap size for galaxy w?
gwonder said:
Hi Guys i want ask about vm heap size for my galaxy w Default vm heap size 64 in my rom i changed 48 m < who is can give me Best heap size for galaxy w?
Click to expand...
Click to collapse
commonly for GB roms 64m, for ICS and JB 128m
but i've also tried running JB at 64m and works just fine
mmm, get be focused
VM have 3 value that may change the performace
my setting is
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=36m
dalvik.vm.heapsize=128m
hepi_hape said:
mmm, get be focused
VM have 3 value that may change the performace
my setting is
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=36m
dalvik.vm.heapsize=128m
Click to expand...
Click to collapse
dalvik.vm.heapstartsize size when first launch
dalvik.vm.heapgrowthlimit limit of standard app
dalvik.vm.heapsize heap for large app
commonly for ics/jb with 512mb ram is 5,48,128
increasing heapsize can improve performance because app can used more memory to unpacking resources.
reducing heapsize may improve multitasking experience. however, in some cases, large applications such as gaming, the performance can be more severe. while app nowadays is using larger resources (hd images,audio etc), which would force it to run garbage collection frequently, which would use up CPU cycles and reducing battery life as well.

[q] total ram available and vm heap size

HI
I have some questions
First, whats wrong with the total memory in my device?
Xperia arc S
X-Gamer v2
Doomkernel v22
Baseband 64
The system memory manager shows only ~320 MB of total RAM. Yes, I know that some is shared with the GPU and some goes for the VM HS. But, why is in some other ROMs shows more than that? Even in JB/CM10 is around 380 MB!!
Do they have no VM? Or why is showing that amount?
Or is just kernel/ROM related the amount of RAM? Changing it will give me more RAM available? (Very usefull in games actually).
And, changing the VM Heap size in build.prop affects something? I've read that the default for the arc is 32MB, but i've changed it at 48MB.
Should i leave it at that? Or increase/decrease at some other value?
Thanks and sorry about my english
17th_angel said:
HI
I have some questions
First, whats wrong with the total memory in my device?
Xperia arc S
X-Gamer v2
Doomkernel v22
Baseband 64
The system memory manager shows only ~320 MB of total RAM. Yes, I know that some is shared with the GPU and some goes for the VM HS. But, why is in some other ROMs shows more than that? Even in JB/CM10 is around 380 MB!!
Do they have no VM? Or why is showing that amount?
Or is just kernel/ROM related the amount of RAM? Changing it will give me more RAM available? (Very usefull in games actually).
And, changing the VM Heap size in build.prop affects something? I've read that the default for the arc is 32MB, but i've changed it at 48MB.
Should i leave it at that? Or increase/decrease at some other value?
Thanks and sorry about my english
Click to expand...
Click to collapse
Only the RAM available to the user is shown. The part, which Android itself uses, is not shown.
Someguyfromhell said:
Only the RAM available to the user is shown. The part, which Android itself uses, is not shown.
Click to expand...
Click to collapse
Yeah, but, why it changes so much?
Like i said, in JB/CM10 they have around 380 MB (cos extra 20 MB are free from the 720p camera).
Its kernel dependant, VM values, or why cant i get something more close to it?
Thanks
Yeah that's something I noticed too.
Although ICS / JB / CM reserve more RAM for the system, total free RAM for apps is at about 200MB on both GB and JB, because GB somehow sucks 60MB more into nirvana.

Categories

Resources