0
0

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:
[code:3sj1b73e]
......
....
exinfo.defaultfrequency = 22050;
exinfo.numchannels = 1;
exinfo.format = FMOD_SOUND_FORMAT_PCM16;
system->createSound(buff, FMOD_OPENRAW|FMOD_SOFTWARE|FMOD_OPENMEMORY, &exinfo, &sound1);
free(buff);
.......
.......

sound1->release(); //no memory size changed ;
.....
[/code:3sj1b73e]

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.