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


Last Updated:

  1. drPheta

    drPheta Well-Known Member This Topic's Starter

    Joined:
    May 18, 2010
    Messages:
    213
    Likes Received:
    95
    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.
     

    Advertisement
  2. Dsoto87

    Dsoto87 Well-Known Member

    Joined:
    Apr 30, 2010
    Messages:
    121
    Likes Received:
    13
    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
     
  3. Mach3te

    Mach3te Well-Known Member

    Joined:
    Apr 8, 2010
    Messages:
    49
    Likes Received:
    13
    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.
     
  4. drPheta

    drPheta Well-Known Member This Topic's Starter

    Joined:
    May 18, 2010
    Messages:
    213
    Likes Received:
    95
    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
     

Share This Page

Loading...