My Android app APK is fairly large at ~480 MB. I can install the app just fine but on Android OS 2.2 when the app is launched I get this error (int logcat):
09-21 00:04:12.855: W/dalvikvm(3178): mmap(480331001, RO, FILE|SHARED, 28, 0) failed: Out of memory 09-21 00:04:12.855: W/dalvikvm(3178): Map of '/data/app/com.mycompany.myapp-1.apk' failed 09-21 00:04:12.855: D/AndroidRuntime(3178): Shutting down VM 09-21 00:04:12.855: W/dalvikvm(3178): threadid=1: thread exiting with uncaught exception (group=0x4001d828) 09-21 00:04:12.859: E/AndroidRuntime(3178): FATAL EXCEPTION: main 09-21 00:04:12.859: E/AndroidRuntime(3178): java.lang.RuntimeException: Unable to instantiate activity ... This does not happen on OS 4.0+. Some users are reporting a crash on startup in 2.3.4 and 2.3.7, which I suspect is the same problem. Why is mmap failing on my APK? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

