1 decade ago by Sean12
So I'm pretty much ready to submit to the app store but I'm having a few issues. I have four games built using separate ejecta views. So each time a game is played a new view is displayed. The previous is released of course. I began running the allocations tool in xcode and found that a few of the openAl classes are allocation a lot of memory that eventually causes the app to crash on an iPod.
The large memory allocations are coming from EJOpenALBuffer.m
and EJOpenALManager.m
I'm not really sure how to handle this issue. hopefully someone can help me out.
The large memory allocations are coming from EJOpenALBuffer.m
void * data = [self getAudioDataWithURL:url];
and EJOpenALManager.m
context = alcCreateContext( device, NULL );
alcMakeContextCurrent( context );
I'm not really sure how to handle this issue. hopefully someone can help me out.