I'm able to randomly reproduce a situation that crashes my application.  Does 
this mean that my application is using too much memory?  The logcat output 
is:

09-12 16:33:43.357: ERROR/dalvikvm-heap(157): 528640-byte external allocation 
too large for this process.
09-12 16:33:43.357: ERROR/(157): VM won't let us allocate 528640 bytes
09-12 16:33:43.357: DEBUG/AndroidRuntime(157): Shutting down VM
09-12 16:33:43.367: WARN/dalvikvm(157): threadid=3: thread exiting with 
uncaught exception (group=0x40010e28)
09-12 16:33:43.367: ERROR/AndroidRuntime(157): Uncaught handler: thread main 
exiting due to uncaught exception
09-12 16:33:43.387: ERROR/AndroidRuntime(157): java.lang.RuntimeException: 
can't alloc pixels
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.graphics.Bitmap.nativeCreate(Native Method)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.graphics.Bitmap.createBitmap(Bitmap.java:343)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.View.buildDrawingCache(View.java:5153)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewGroup.onAnimationStart(ViewGroup.java:1105)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:1312)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1192)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:1418)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1192)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:1418)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1192)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewGroup.drawChild(ViewGroup.java:1418)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1192)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.View.draw(View.java:5263)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.widget.FrameLayout.draw(FrameLayout.java:324)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1692)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewRoot.draw(ViewRoot.java:940)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewRoot.performTraversals(ViewRoot.java:789)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.view.ViewRoot.handleMessage(ViewRoot.java:1051)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.os.Handler.dispatchMessage(Handler.java:88)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.os.Looper.loop(Looper.java:123)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
android.app.ActivityThread.main(ActivityThread.java:3708)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
java.lang.reflect.Method.invokeNative(Native Method)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
java.lang.reflect.Method.invoke(Method.java:492)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:734)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:492)
09-12 16:33:43.387: ERROR/AndroidRuntime(157):     at 
dalvik.system.NativeStart.main(Native Method)

-- 

Zach Hobbs 
HelloAndroid.com 
Android OS news, tutorials, downloads

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to