And how about the upper question? It is more fatal.
RE: Android Heap Problem - Added by Nicolas Dai about 2 hours ago
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_MODULES := cocos2d cocosdenshion game_logic helloworld
Do you have any idea what is happening or what have I did is not correct?