[EVO 4G Android Development] kminatta:
Dalvikvm-heap out of memory error

i originally posted this in the general Q&A, but i didn't get any response. could the issue i am experiencing be related to A2SD, ROM, or kernel?

i seem to get random crashes with any launcher i use (ADW, Go, LauncherPro). the app drawer will randomly crash to the homescreen after i select it. when i select it again, it only has a handful of installed apps and takes 5-10 seconds to load the remainder. i'm on Myn's latest Rom with netarchy-toastmod-4.3.2-cfs-sbc-havs-more kernel. i have A2SD working with Dalvik still residing on the phone. the issue seems to happen with any kernel as it happened when i was running the HTC #15 kernel that came with Myn's Rom. any ideas what the issue could be or how i can further troubleshoot? thanks!

i was able to capture the messages below from logcat:

01-31 11:34:00.608 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.608 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4449KB, Bitmap Size=17639KB

01-31 11:34:00.608 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.608 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.608 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4450KB, Bitmap Size=17639KB

01-31 11:34:00.608 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.608 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.608 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4450KB, Bitmap Size=17639KB

01-31 11:34:00.608 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.608 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.608 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4451KB, Bitmap Size=17639KB

01-31 11:34:00.608 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.608 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.608 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4452KB, Bitmap Size=17639KB

01-31 11:34:00.608 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.608 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.608 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4452KB, Bitmap Size=17639KB

01-31 11:34:00.608 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.608 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.608 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4453KB, Bitmap Size=17639KB

01-31 11:34:00.608 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.618 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.618 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4454KB, Bitmap Size=17639KB

01-31 11:34:00.618 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.628 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.628 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4455KB, Bitmap Size=17639KB

01-31 11:34:00.628 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.628 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.628 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4455KB, Bitmap Size=17639KB

01-31 11:34:00.628 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.628 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.628 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4456KB, Bitmap Size=17639KB

01-31 11:34:00.628 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.628 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.628 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4457KB, Bitmap Size=17639KB

01-31 11:34:00.628 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.628 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.628 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4457KB, Bitmap Size=17639KB

01-31 11:34:00.628 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.628 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.628 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4458KB, Bitmap Size=17639KB

01-31 11:34:00.628 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.628 E/dalvikvm-heap(371): 46368-byte external allocation too large for this process.

01-31 11:34:00.628 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4459KB, Bitmap Size=17639KB

01-31 11:34:00.628 E/GraphicsJNI(371): VM won't let us allocate 46368 bytes

01-31 11:34:00.668 E/dalvikvm-heap(371): 388440-byte external allocation too large for this process.

01-31 11:34:00.668 E/dalvikvm(371): Out of memory: Heap Size=6919KB, Allocated=4691KB, Bitmap Size=17639KB

01-31 11:34:00.678 E/GraphicsJNI(371): VM won't let us allocate 388440 bytes

01-31 11:34:01.368 W/ContentService(246): binderDied() at ObserverNode name appWidgetReset

01-31 11:34:01.368 W/ContentService(246): binderDied() at ObserverNode name favorites

01-31 11:34:01.408 E/ActivityManager(246): fail to set top app changed!

01-31 11:34:03.088 W/InputManagerService(246): Got RemoteException sending setActive(false) notification to pid 371 uid 10291

01-31 11:34:05.298 W/Process (246): Unable to open /proc/371/status

01-31 11:34:05.908 E/HDMIStatusObserver(14002): status: UNPLUG

01-31 11:34:05.908 E/MediaPlayer(14002): onHDMIStateChanged

01-31 11:34:05.908 E/MediaPlayer(14002): hdmi_setting not found!

01-31 11:34:05.928 E/HDMIStatusObserver(14002): status: UNPLUG

01-31 11:34:05.928 E/MediaPlayer(14002): onHDMIStateChanged

01-31 11:34:05.928 E/MediaPlayer(14002): hdmi_setting not found!