Continuing the discussion from Windows phone 8:
game gets crashed after playing for 2-3 tyms.
Wp8-xaml
First-chance exception at 0x778B1247 in simpleGame.exe: Microsoft C++ exception: comerror at memory location 0x0120C130.
and some times a access violation error
I am using only .wav files. My app resources size is 41.3 mb
I debugged why it is crashing i found memory is increasing at 141 mb its getting crashed by this variable i founded the memory issue
long currentMemoryInBytes = Windows::System::Memory::MemoryManager::ProcessCommittedBytes;
this stuff is not working
if(currentMemoryInBytes > 90107904)
{
CCTextureCache::sharedTextureCache()->removeUnusedTextures();
}
Need Help ASAP