I’ve been working with FMOD through the Leaks Instrument in XCode and it identifies a leak under the line:
result = system->init(32, FMOD_INIT_NORMAL | FMOD_INIT_ENABLE_PROFILE, NULL);
This happens in the example code as well. Any ideas?
- CuriousG asked 7 years ago
I have recently gone through the init / release cycle using memory logging to investigate similar claims by another user. Firstly I recommend you use Memory_GetStats to confirm that after init and release you have 0 bytes allocated, this tracks all FMOD memory allocations.
Any other perceived leaks are probably one time allocations coming from the iPhone SDK. When I did my last profile run I noticed a bunch of factories were created and things like the audio session initialization (which can’t be cleaned up) persist. These aren’t anything to worry about, but if you have concerns that you have found a more significant leak let us know and we can track down exactly what you are seeing.
Please login first to submit.