I have strange problem with Frame Animation If I test my app on SGS3, a get Error on GetDrawable - NullRefernce exception. Before this Error, HeapSize growed over 64MB. But on Tablet with 1280x800 resolution, HeapSize is about 10 MB - so it's realy strange, why is so big on SGS3 Any Idea? (It works if I use smaller images, but images are not so big and on other devices it works smoothly).
Error: I have strange problem with Frame Animation If I test my app on SGS3, a get Error on GetDrawable - NullRefernce exception. Before this Error, HeapSize growed over 64MB. But on Tablet with 1280x800 resolution, HeapSize is about 10 MB - so it's realy strange, why is so big on SGS3 Any Idea? (It works if I use smaller images, but images are not so big and on other devices it works smoothly). Error: Grow heap (frag case) to 57.301MB for 653616-byte allocation Grow heap (frag case) to 57.925MB for 653616-byte allocation Grow heap (frag case) to 58.549MB for 653616-byte allocation Grow heap (frag case) to 59.173MB for 653616-byte allocation Grow heap (frag case) to 59.797MB for 653616-byte allocation Grow heap (frag case) to 60.421MB for 653616-byte allocation Grow heap (frag case) to 61.045MB for 653616-byte allocation Grow heap (frag case) to 61.669MB for 653616-byte allocation Grow heap (frag case) to 62.293MB for 653616-byte allocation Clamp target GC heap from 64.292MB to 64.000MB Clamp target GC heap from 64.293MB to 64.000MB Forcing collection of SoftReferences for 653616-byte allocation Clamp target GC heap from 64.286MB to 64.000MB Out of memory on a 653616-byte allocation. Stacktrace: at (wrapper delegate-invoke) <Module>.invoke_intptr__this___intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,Android.Runtime.JValue[]) <IL 0x00063, 0xffffffff> at Android.Runtime.JNIEnv.CallObjectMethod (intptr,intptr,Android.Runtime.JValue[]) [0x00000] in /Users/builder/data/lanes/monodroid-mac-monodroid-4.2.5-branch/fbf243f0/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:141 at Android.Content.Res.Resources.GetDrawable (int) [0x0003e] in /Users/builder/data/lanes/monodroid-mac-monodroid-4.2.5-branch/fbf243f0/source/monodroid/src/Mono.Android/platforms/android-15/src/generated/Android.Content.Res.Resources.cs:536 at FunnyRoadTripApp.characterChooseActivity.CharacterAnimationStart () [0x0026c] in f:\Visual Studio 2008\Projects\FunnyRoadTripApp\FunnyRoadTripApp\characterChooseActivity.cs:210 at FunnyRoadTripApp.characterChooseActivity.<FirstPlay>b__3 () [0x00001] in f:\Visual Studio 2008\Projects\FunnyRoadTripApp\FunnyRoadTripApp\characterChooseActivity.cs:84 at Java.Lang.Thread/RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/monodroid-mac-monodroid-4.2.5-branch/fbf243f0/source/monodroid/src/Mono.Android/src/Java.Lang/Thread.cs:32 at Java.Lang.IRunnableInvoker.n_Run (intptr,intptr) [0x00008] in /Users/builder/data/lanes/monodroid-mac-monodroid-4.2.5-branch/fbf243f0/source/monodroid/src/Mono.Android/platforms/android-15/src/generated/Java.Lang.IRunnable.cs:69 at (wrapper dynamic-method) object.805ce10e-25ff-4558-908b-bdac0b9ebdca (intptr,intptr) <IL 0x0000c, 0x0002b> at (wrapper native-to-managed) object.805ce10e-25ff-4558-908b-bdac0b9ebdca (intptr,intptr) <IL 0x0001e, 0xffffffff> -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/HeapSize-on-Samsung-Galaxy-S3-tp5711796.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
