Thanks for your reply.
After couple days of debugging, I found the crash is not caused by the heap size.
It often crash in engine interfaces (I noticed this by adding plenty of CCLog() functions).
For example, I have a class inherited from CCSprite, when I invoke this~~>addChild, it will crash sometimes ; then I modified it to addChild , there will be less crashes.
I checked google and found a explanation for this is RTTI, but I check my project, the mk file in project/android/jni/Application.mk is already set to like this:
APP_STL := gnustl_static
APP_CPPFLAGS +=~~frtti
And how about the upper question? It is more fatal.
RE: Android Heap Problem - Added by Nicolas Dai about 2 hours ago
Hi
Thanks for your reply.
After couple days of debugging, I found the crash is not caused by the heap size.
It often crash in engine interfaces (I noticed this by adding plenty of CCLog() functions).
For example, I have a class inherited from CCSprite, when I invoke this~~>addChild, it will crash sometimes ; then I modified it to addChild , there will be less crashes.
I checked google and found a explanation for this is RTTI, but I check my project, the mk file in project/android/jni/Application.mk is already set to like this:
APP_STL := gnustl_static
APP_CPPFLAGS +=~~frtti