android - when a software run for a long time, it crash -


i have finish game project, using cocos2d-x, develop visual studio 2010, , deploy android.

it work perfectly, almost.

i run on android, , write small ai play game, after long unpredictable time,maybe 2 hours, maybe 1 morning, maybe 1 day, quit not obvious reason!

someone remind me maybe due annoying small memory leak, when ai play on , on again, memory leak accumulated , crash game.

if maybe reason, how supposed debug, find out or in program cause problem?

any tools debug memory leak?

i know 1 visual memory leak; tools monitor memory while game running?


Comments