I just talked to our audio expert and he said that this issue will only happen with large OGG files if you use the [lua]audio.loadSound()[/lua] function. The reason is because that function loads the entire audio file into memory and the OGG decoder often guesses wrong on the actual size of the audio sound, so it typically allocates much more memory than needed to hold sound. The MP3 decoder does not have this issue, which is why switching to MP3 works around this issue.
That said, you can continue to use large OGG files, but it is recommended that large audio files be streamed instead of fully loaded into memory. Especially on devices with limited memory, which unfortunately there are too many Android devices like this. You can stream audio from file via our [lua]audio.loadStream()[/lua] function.
http://docs.coronalabs.com/api/library/audio/loadStream.html
One more thing, you can also lower the amount of memory required for OGG file playback by lowering the bit-rate to 22 or 11 kHz… and switching to mono instead of stereo. Doing so will always improve performance because it’s less audio data for the CPU to load and decode.
I hope this helps! [import]uid: 32256 topic_id: 31697 reply_id: 128465[/import]