Hi, I have some headache with an error about the system going out of
memory.
When I run the game fo first time there's no problem, but when i quit -
with finish();- and then start the app again, it gives me an error.

The LogCat error says:

VM won't let us allocate 5529600 bytes
....
Caused by: android.view.InflateException: Binary XML file line #14:
Error inflating class java.lang.reflect.Constructor
....
Caused by: java.lang.reflect.InvocationTargetException
....
Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget.

it's strange because if I finish the activity and start it again
without exiting the app then it's everything OK....but when i finish
the app and push the button to load that activity... it crashes with
this error and come back to the main menu... please any help will help
=P. thx in advance!

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to