我需要知道错误的含义,内存是什么:
E/dalvikvm-heap(31086): Out of memory on a 123496-byte allocation.
FATAL EXCEPTION: Thread-1269 java.lang.OutOfMemoryError
at com.spoledge.aacdecoder.AACPlayer.createDecodeBuffers(AACPlayer.java:518)
at com.spoledge.aacdecoder.AACPlayer.playImpl(AACPlayer.java:438)
at com.spoledge.aacdecoder.AACPlayer.play(AACPlayer.java:386)
at com.spoledge.aacdecoder.AACPlayer.play(AACPlayer.java:338)
at com.spoledge.aacdecoder.AACPlayer$1.run(AACPlayer.java:296)
at java.lang.Thread.run(Thread.java:841)
(我也使用universalimageloader)
答案 0 :(得分:1)
这是关于堆内存,即当有人说“这有XXX MB的内存”时你通常会想到的。看起来你正试图咬一口对你的手机来说太大了。也许你想要流媒体?