we have detected our game memory leak on FMOD::System::createsound. It is reported Sounds var FMOD::System::createSound were not free the memory. we sure we have called sound->release() to free.

we test some codes in fmod examples, var windows task manager to view the memory, but indeed no change:

codes like this:
exinfo.defaultfrequency = 22050;
exinfo.numchannels = 1;
exinfo.format = FMOD_SOUND_FORMAT_PCM16;
system->createSound(buff, FMOD_OPENRAW|FMOD_SOFTWARE|FMOD_OPENMEMORY, &exinfo, &sound1);

sound1->release(); //no memory size changed ;

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.