Wrong heap size


Dec 4, 2010
16
0
11
#3
Is there an option to change it in miui? When I had cyanogen, 24 was the most stable for me.

Sent from my Nexus One using the miui-dev.com Forums App
 

MarkHUK

Founder of Xiaomi.eu
Staff member
Nov 6, 2010
4,739
2,781
1,000,000
#4
I noticed the heapsize is set at 32. This is not stable for the nexus. Just wanted to point this out.
This might be why some of you are having FC issues. Point me to a link which states a dalvik vm heap size of 32M is bad for Nexus One please.

Also Cyanogen ships with a dalvik.vm.heapsize of 32m so I'd love to know where you get your info from :)


Thanks,

Mark
 
Nov 19, 2010
38
0
16
#6
32 was very unstable when 2.2 first came out, but maybe this was fixed? I was hoping it would fix my launcher FC from folders/themes(I think from these?), but it has definitely not helped with the Launcher.

Eitherway, there is an easy way to fix it.

Open a terminal app, type su, then, a2sd largeheap (largeheap is 1 word) It will set you to 24. a2sd help for the commands to get back to 32 (megaheap I believe)
 
Nov 7, 2010
335
1
40
#8
Nice app my logcats says E/dalvikvm-heap(11019): 218880-byte external allocation too large for this process.

Trying adjusting heap to 24 and it got worst.

I have posted most of my log in the bugs section in hopes to eliminate the fc problem with folders and editing.