0
0

Hello,

I’ve been working with FMOD through the Leaks Instrument in XCode and it identifies a leak under the line:

[code:17p1hwuw]
result = system->init(32, FMOD_INIT_NORMAL | FMOD_INIT_ENABLE_PROFILE, NULL);
[/code:17p1hwuw]

This happens in the example code as well. Any ideas?

Thanks!

  • George
  • You must to post comments
0
0

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.

  • You must to post comments
0
0

Thanks Mathew,

I’ll take a look at Memory_GetStats. The leak was fairly small, and it might be related to the audio session initialization (there are many audio session calls at the same point as the leak).

  • George
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.