android soundpool heapsize overflow
问题 I get this error hundreds of times when I run in Debug, it doesn't seem to affect the program, but how do I get rid of it? I know it can be traced back to the SoundPool based on other posts 09-15 09:03:09.190: ERROR/AudioCache(34): Heap size overflow! req size: 1052672, max size: 1048576 回答1: SoundPool is hard code the buffer size as 1M for all loaded file. So you probably will get 'heap size overflow' error when you load too much files into SoundPool. I also have this issue on a game project