• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root VM Heap Size 24m vs 32m (Incredible on 2.2)

drPheta

Well-Known Member
Anyone know (with our phones running 2.2) what the optimal heap size should be? The leaked 2.2 came with 24m preset. Some ROMs run 32m. Bigger always seems better, but I've been reading other sites/forums and get conflicting thoughts.

That's why I thought I'd ask here.

I ran Linpack with both and average about 37.5 - 37.9 with either 24m or 32m.
 
I dint know if it was the vm heap size that did it but here's my findings:

Desensitized version of sky raider:
Top linpack: low 39s
Avg linpack: 37s
Top quadrant: 1214
Avg quadrant: 1190s

Adrenelyne's "Vanilla" rom with 32m patch:
Top linpack: very low 41
Avg linpack: high 39s
Top quadrant: 1300s, higher then nexus 1
Avg quadrant: 1250-1260
 
How can we set the heap size to 32m on the leaked 2.2 rom? I've seen that it can be changed via Rom Manager if you use the Cyanogen rom.
 
Edit the build.prop file and change the 24m to 32m

# This is a high density device with more memory, so larger vm heaps for it.
dalvik.vm.heapsize=24m

Then push it to /system using adb. Make sure you're in recovery with /system mounted
 
Back
Top Bottom