martinbonnin / ExoPlayer

Apache License 2.0
22 stars 3 forks source link

Out-Of-Memory error after 5 min of playback #23

Open faifai123 opened 10 years ago

faifai123 commented 10 years ago

Dear Martin,

I tried the demo and added a HLS video (H.264 .m3u8) with 13 hours long and played 5 minutes and the app was crashed. I tried it on Samsung S4, Sony Xperia Z1 Compact, Red Mi and got the same result. Would you please have a look? Would the cause be that the video was too long? Thanks.

martinbonnin commented 10 years ago

please edit this ticket and include as many details as possible like:

If you can share your url, it would be even better. Thanks,

faifai123 commented 10 years ago

Thanks !

martinbonnin commented 10 years ago

Your backtrace misses the first line with the actual type of the exception. What's more, it really does not look like a HLS problem...

faifai123 commented 10 years ago

Here's the whole message in LogCat:

09-05 17:45:40.442: D/HLSSampleSource(404): 133: chunkTask (20839369) http://domain.com/VM01.mp4Frag133Num133.ts 09-05 17:45:40.442: I/System.out(404): [CDS]rx timeout:8000 09-05 17:45:40.518: I/SurfaceTextureClient(404): STC::queueBuffer fps:25.03, dur:1038.96, max:46.42, min:31.63 09-05 17:45:41.269: I/dalvikvm-heap(404): Clamp target GC heap from 138.281MB to 128.000MB 09-05 17:45:41.270: D/dalvikvm(404): GC_FOR_ALLOC freed 1595K (10706), 2% free 129189K/131016K, paused 284ms, total 284ms 09-05 17:45:41.270: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:308.22 09-05 17:45:41.297: D/HLSSampleSource(404): 134: chunkTask (21015986) http://domain.com/VM01.mp4Frag134Num134.ts 09-05 17:45:41.297: D/EventLogger(404): droppedFrames [83.72, 1] 09-05 17:45:41.297: I/System.out(404): [CDS]rx timeout:8000 09-05 17:45:41.298: D/EventLogger(404): droppedFrames [83.72, 1] 09-05 17:45:41.299: D/EventLogger(404): droppedFrames [83.72, 1] 09-05 17:45:41.301: D/EventLogger(404): droppedFrames [83.72, 1] 09-05 17:45:41.304: D/EventLogger(404): droppedFrames [83.72, 1] 09-05 17:45:41.316: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:5.51 09-05 17:45:41.435: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:52.81 09-05 17:45:41.486: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:50.99 09-05 17:45:41.549: I/SurfaceTextureClient(404): STC::queueBuffer fps:18.42, dur:1031.45, max:308.22, min:5.51 09-05 17:45:41.549: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:63.54 09-05 17:45:41.601: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:51.50 09-05 17:45:41.655: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:53.65 09-05 17:45:41.705: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:50.78 09-05 17:45:41.755: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:50.13 09-05 17:45:42.099: I/dalvikvm-heap(404): Clamp target GC heap from 139.054MB to 128.000MB 09-05 17:45:42.099: D/dalvikvm(404): GC_FOR_ALLOC freed 289K (2085), 1% free 129981K/131016K, paused 284ms, total 284ms 09-05 17:45:42.099: I/dalvikvm-heap(404): Forcing collection of SoftReferences for 512016-byte allocation 09-05 17:45:42.398: I/dalvikvm-heap(404): Clamp target GC heap from 139.044MB to 128.000MB 09-05 17:45:42.398: D/dalvikvm(404): GC_BEFORE_OOM freed 14K (62), 1% free 129966K/131016K, paused 299ms, total 299ms 09-05 17:45:42.398: E/dalvikvm-heap(404): Out of memory on a 512016-byte allocation. 09-05 17:45:42.398: I/dalvikvm(404): "AsyncTask #4" prio=5 tid=17 RUNNABLE JIT 09-05 17:45:42.398: I/dalvikvm(404): | group="main" sCount=0 dsCount=0 obj=0x42c421f8 self=0x63c59e20 09-05 17:45:42.398: I/dalvikvm(404): | sysTid=769 nice=10 sched=0/0 cgrp=apps/bg_non_interactive handle=1698649984 09-05 17:45:42.398: I/dalvikvm(404): | state=R schedstat=( 1995126688 1036955927 3139 ) utm=167 stm=32 core=2 09-05 17:45:42.398: I/dalvikvm(404): at dalvik.system.VMRuntime.newNonMovableArray(Native Method) 09-05 17:45:42.402: I/dalvikvm(404): at java.nio.MemoryBlock.allocate(MemoryBlock.java:126) 09-05 17:45:42.402: I/dalvikvm(404): at java.nio.ReadWriteDirectByteBuffer.(ReadWriteDirectByteBuffer.java:46) 09-05 17:45:42.402: I/dalvikvm(404): at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:65) 09-05 17:45:42.402: I/dalvikvm(404): at com.google.android.exoplayer.hls.TSPacketAllocator$Chunk.(TSPacketAllocator.java:27) 09-05 17:45:42.402: I/dalvikvm(404): at com.google.android.exoplayer.hls.TSPacketAllocator.newChunk(TSPacketAllocator.java:49) 09-05 17:45:42.402: I/dalvikvm(404): at com.google.android.exoplayer.hls.TSPacketAllocator.allocateBiggerPacket(TSPacketAllocator.java:85) 09-05 17:45:42.402: I/dalvikvm(404): at com.google.android.exoplayer.parser.ts.TSExtractor$PESHandler.handlePayload(TSExtractor.java:145) 09-05 17:45:42.402: I/dalvikvm(404): at com.google.android.exoplayer.parser.ts.TSExtractor.readOnePacket(TSExtractor.java:405) 09-05 17:45:42.402: I/dalvikvm(404): at com.google.android.exoplayer.parser.ts.TSExtractor.read(TSExtractor.java:428) 09-05 17:45:42.402: I/dalvikvm(404): at com.google.android.exoplayer.parser.ts.TSExtractorWithParsers.read(TSExtractorWithParsers.java:39) 09-05 17:45:42.402: I/dalvikvm(404): at com.google.android.exoplayer.hls.HLSSampleSource$ChunkTask.doInBackground(HLSSampleSource.java:620) 09-05 17:45:42.402: I/dalvikvm(404): at com.google.android.exoplayer.hls.HLSSampleSource$ChunkTask.doInBackground(HLSSampleSource.java:1) 09-05 17:45:42.402: I/dalvikvm(404): at android.os.AsyncTask$2.call(AsyncTask.java:287) 09-05 17:45:42.402: I/dalvikvm(404): at java.util.concurrent.FutureTask.run(FutureTask.java:254) 09-05 17:45:42.402: I/dalvikvm(404): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:232) 09-05 17:45:42.402: I/dalvikvm(404): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1069) 09-05 17:45:42.402: I/dalvikvm(404): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:574) 09-05 17:45:42.402: I/dalvikvm(404): at java.lang.Thread.run(Thread.java:837) 09-05 17:45:42.402: D/dalvikvm(404): not gen hprof when oome 09-05 17:45:42.403: D/dalvikvm(404): create interp thread : stack size=128KB 09-05 17:45:42.403: D/dalvikvm(404): create new thread 09-05 17:45:42.403: D/dalvikvm(404): new thread created 09-05 17:45:42.403: D/dalvikvm(404): update thread list 09-05 17:45:42.403: D/dalvikvm(404): threadid=19: interp stack at 0x64c01000 09-05 17:45:42.403: D/dalvikvm(404): threadid=19: created from interp 09-05 17:45:42.403: D/dalvikvm(404): start new thread 09-05 17:45:42.403: D/dalvikvm(404): threadid=17: exiting 09-05 17:45:42.403: W/dalvikvm(404): threadid=17: thread exiting with uncaught exception (group=0x422129a8) 09-05 17:45:42.403: W/dalvikvm(404): threadid=17: uncaught exception occurred 09-05 17:45:42.403: W/System.err(404): java.lang.RuntimeException: An error occured while executing doInBackground() 09-05 17:45:42.403: W/System.err(404): at android.os.AsyncTask$3.done(AsyncTask.java:299) 09-05 17:45:42.404: W/System.err(404): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352) 09-05 17:45:42.404: W/System.err(404): at java.util.concurrent.FutureTask.setException(FutureTask.java:219) 09-05 17:45:42.404: W/System.err(404): at java.util.concurrent.FutureTask.run(FutureTask.java:239) 09-05 17:45:42.404: W/System.err(404): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) 09-05 17:45:42.404: W/System.err(404): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 09-05 17:45:42.404: W/System.err(404): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 09-05 17:45:42.404: W/System.err(404): at java.lang.Thread.run(Thread.java:838) 09-05 17:45:42.404: W/System.err(404): Caused by: java.lang.OutOfMemoryError 09-05 17:45:42.404: W/System.err(404): at dalvik.system.VMRuntime.newNonMovableArray(Native Method) 09-05 17:45:42.404: W/System.err(404): at java.nio.MemoryBlock.allocate(MemoryBlock.java:126) 09-05 17:45:42.404: W/System.err(404): at java.nio.ReadWriteDirectByteBuffer.(ReadWriteDirectByteBuffer.java:46) 09-05 17:45:42.404: W/System.err(404): at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:68) 09-05 17:45:42.404: W/System.err(404): at com.google.android.exoplayer.hls.TSPacketAllocator$Chunk.(TSPacketAllocator.java:26) 09-05 17:45:42.404: W/System.err(404): at com.google.android.exoplayer.hls.TSPacketAllocator.newChunk(TSPacketAllocator.java:53) 09-05 17:45:42.404: W/System.err(404): at com.google.android.exoplayer.hls.TSPacketAllocator.allocateBiggerPacket(TSPacketAllocator.java:85) 09-05 17:45:42.404: W/System.err(404): at com.google.android.exoplayer.parser.ts.TSExtractor$PESHandler.handlePayload(TSExtractor.java:145) 09-05 17:45:42.404: W/System.err(404): at com.google.android.exoplayer.parser.ts.TSExtractor.readOnePacket(TSExtractor.java:413) 09-05 17:45:42.405: W/System.err(404): at com.google.android.exoplayer.parser.ts.TSExtractor.read(TSExtractor.java:423) 09-05 17:45:42.405: W/System.err(404): at com.google.android.exoplayer.parser.ts.TSExtractorWithParsers.read(TSExtractorWithParsers.java:39) 09-05 17:45:42.405: D/dalvikvm(404): threadid=19: notify debugger 09-05 17:45:42.405: W/System.err(404): at com.google.android.exoplayer.hls.HLSSampleSource$ChunkTask.doInBackground(HLSSampleSource.java:678) 09-05 17:45:42.405: W/System.err(404): at com.google.android.exoplayer.hls.HLSSampleSource$ChunkTask.doInBackground(HLSSampleSource.java:1) 09-05 17:45:42.405: W/System.err(404): at android.os.AsyncTask$2.call(AsyncTask.java:287) 09-05 17:45:42.405: W/System.err(404): at java.util.concurrent.FutureTask.run(FutureTask.java:234) 09-05 17:45:42.405: W/System.err(404): ... 4 more 09-05 17:45:42.405: W/dalvikvm(404): threadid=17: calling UncaughtExceptionHandler 09-05 17:45:42.406: E/AndroidRuntime(404): FATAL EXCEPTION: AsyncTask #4 09-05 17:45:42.406: E/AndroidRuntime(404): java.lang.RuntimeException: An error occured while executing doInBackground() 09-05 17:45:42.406: E/AndroidRuntime(404): at android.os.AsyncTask$3.done(AsyncTask.java:299) 09-05 17:45:42.406: E/AndroidRuntime(404): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352) 09-05 17:45:42.406: E/AndroidRuntime(404): at java.util.concurrent.FutureTask.setException(FutureTask.java:219) 09-05 17:45:42.406: E/AndroidRuntime(404): at java.util.concurrent.FutureTask.run(FutureTask.java:239) 09-05 17:45:42.406: E/AndroidRuntime(404): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) 09-05 17:45:42.406: E/AndroidRuntime(404): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 09-05 17:45:42.406: E/AndroidRuntime(404): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 09-05 17:45:42.406: E/AndroidRuntime(404): at java.lang.Thread.run(Thread.java:838) 09-05 17:45:42.406: E/AndroidRuntime(404): Caused by: java.lang.OutOfMemoryError 09-05 17:45:42.406: E/AndroidRuntime(404): at dalvik.system.VMRuntime.newNonMovableArray(Native Method) 09-05 17:45:42.406: E/AndroidRuntime(404): at java.nio.MemoryBlock.allocate(MemoryBlock.java:126) 09-05 17:45:42.406: E/AndroidRuntime(404): at java.nio.ReadWriteDirectByteBuffer.(ReadWriteDirectByteBuffer.java:46) 09-05 17:45:42.406: E/AndroidRuntime(404): at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:68) 09-05 17:45:42.406: E/AndroidRuntime(404): at com.google.android.exoplayer.hls.TSPacketAllocator$Chunk.(TSPacketAllocator.java:26) 09-05 17:45:42.406: E/AndroidRuntime(404): at com.google.android.exoplayer.hls.TSPacketAllocator.newChunk(TSPacketAllocator.java:53) 09-05 17:45:42.406: E/AndroidRuntime(404): at com.google.android.exoplayer.hls.TSPacketAllocator.allocateBiggerPacket(TSPacketAllocator.java:85) 09-05 17:45:42.406: E/AndroidRuntime(404): at com.google.android.exoplayer.parser.ts.TSExtractor$PESHandler.handlePayload(TSExtractor.java:145) 09-05 17:45:42.406: E/AndroidRuntime(404): at com.google.android.exoplayer.parser.ts.TSExtractor.readOnePacket(TSExtractor.java:413) 09-05 17:45:42.406: E/AndroidRuntime(404): at com.google.android.exoplayer.parser.ts.TSExtractor.read(TSExtractor.java:423) 09-05 17:45:42.406: E/AndroidRuntime(404): at com.google.android.exoplayer.parser.ts.TSExtractorWithParsers.read(TSExtractorWithParsers.java:39) 09-05 17:45:42.406: E/AndroidRuntime(404): at com.google.android.exoplayer.hls.HLSSampleSource$ChunkTask.doInBackground(HLSSampleSource.java:678) 09-05 17:45:42.406: E/AndroidRuntime(404): at com.google.android.exoplayer.hls.HLSSampleSource$ChunkTask.doInBackground(HLSSampleSource.java:1) 09-05 17:45:42.406: E/AndroidRuntime(404): at android.os.AsyncTask$2.call(AsyncTask.java:287) 09-05 17:45:42.406: E/AndroidRuntime(404): at java.util.concurrent.FutureTask.run(FutureTask.java:234) 09-05 17:45:42.406: E/AndroidRuntime(404): ... 4 more 09-05 17:45:42.407: D/dalvikvm(404): threadid=19 (AsyncTask #6): calling run() 09-05 17:45:42.432: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:635.81 09-05 17:45:42.599: I/SurfaceTextureClient(404): freeBuffersOnPort 09-05 17:45:42.620: I/SurfaceTextureClient(404): freeBuffersOnPort 09-05 17:45:42.620: D/GraphicBuffer(404): close handle(0x63c0a468) (w:320 h:192 f:259) 09-05 17:45:42.621: D/GraphicBuffer(404): close handle(0x63c457d8) (w:320 h:192 f:259) 09-05 17:45:42.622: D/GraphicBuffer(404): close handle(0x63c0fc60) (w:320 h:192 f:259) 09-05 17:45:42.622: D/GraphicBuffer(404): close handle(0x63c0fd00) (w:320 h:192 f:259) 09-05 17:45:42.623: D/GraphicBuffer(404): close handle(0x63bcb5f0) (w:320 h:192 f:259) 09-05 17:45:42.623: D/GraphicBuffer(404): close handle(0x63bdad30) (w:320 h:192 f:259) 09-05 17:45:42.624: D/GraphicBuffer(404): close handle(0x63c0fac0) (w:320 h:192 f:259) 09-05 17:45:42.624: D/GraphicBuffer(404): close handle(0x63c4f8c0) (w:320 h:192 f:259) 09-05 17:45:42.625: D/GraphicBuffer(404): close handle(0x63c0fbe8) (w:320 h:192 f:259) 09-05 17:45:42.625: D/GraphicBuffer(404): close handle(0x63c1f580) (w:320 h:192 f:259) 09-05 17:45:42.626: D/GraphicBuffer(404): close handle(0x63bd7a98) (w:320 h:192 f:259) 09-05 17:45:42.626: D/GraphicBuffer(404): close handle(0x63c75128) (w:320 h:192 f:259) 09-05 17:45:42.627: D/GraphicBuffer(404): close handle(0x63c4f540) (w:320 h:192 f:259) 09-05 17:45:42.627: D/GraphicBuffer(404): close handle(0x6541f6f0) (w:320 h:192 f:259) 09-05 17:45:42.628: D/GraphicBuffer(404): close handle(0x63c29cb8) (w:320 h:192 f:259) 09-05 17:45:42.628: D/GraphicBuffer(404): close handle(0x653e1158) (w:320 h:192 f:259) 09-05 17:45:42.629: D/GraphicBuffer(404): close handle(0x653e1638) (w:320 h:192 f:259) 09-05 17:45:42.629: D/GraphicBuffer(404): close handle(0x63818978) (w:320 h:192 f:259) 09-05 17:45:42.629: D/GraphicBuffer(404): close handle(0x63818918) (w:320 h:192 f:259) 09-05 17:45:42.630: D/GraphicBuffer(404): close handle(0x64657f80) (w:320 h:192 f:259) 09-05 17:45:42.630: D/GraphicBuffer(404): close handle(0x6381ec18) (w:320 h:192 f:259) 09-05 17:45:42.630: D/GraphicBuffer(404): close handle(0x6410e6f0) (w:320 h:192 f:259) 09-05 17:45:42.631: D/GraphicBuffer(404): close handle(0x63c646c8) (w:320 h:192 f:259) 09-05 17:45:42.631: D/GraphicBuffer(404): close handle(0x63811638) (w:320 h:192 f:259) 09-05 17:45:42.631: D/GraphicBuffer(404): close handle(0x63c18c60) (w:320 h:192 f:259) 09-05 17:45:42.632: D/GraphicBuffer(404): close handle(0x63c4f858) (w:320 h:192 f:259) 09-05 17:45:42.632: D/GraphicBuffer(404): close handle(0x638188b0) (w:320 h:192 f:259) 09-05 17:45:42.632: D/GraphicBuffer(404): close handle(0x64696858) (w:320 h:192 f:259) 09-05 17:45:42.632: D/GraphicBuffer(404): close handle(0x6541fb00) (w:320 h:192 f:259) 09-05 17:45:42.633: D/GraphicBuffer(404): close handle(0x6541fa58) (w:320 h:192 f:259) 09-05 17:45:42.652: D/MTKI420CC(404): Mtk_deinitACodecColorConverter 09-05 17:45:42.740: D/AudioTrack(404): pause 0x64109410 09-05 17:45:42.747: D/AudioTrack(404): AudioTrackThead is pausing 09-05 17:45:42.747: D/AudioTrack(404): AudioTrackThead pause 09-05 17:45:42.751: I/SurfaceTextureClient(404): freeBuffersOnPort 09-05 17:45:42.754: I/SurfaceTextureClient(404): freeBuffersOnPort 09-05 17:45:42.757: D/dalvikvm(404): create interp thread : stack size=128KB 09-05 17:45:42.757: D/dalvikvm(404): create new thread 09-05 17:45:42.757: D/dalvikvm(404): new thread created 09-05 17:45:42.757: D/dalvikvm(404): update thread list 09-05 17:45:42.757: D/dalvikvm(404): threadid=20: interp stack at 0x63670000 09-05 17:45:42.757: D/dalvikvm(404): threadid=20: created from interp 09-05 17:45:42.757: D/dalvikvm(404): start new thread 09-05 17:45:42.758: D/EventLogger(404): end [85.18] 09-05 17:45:42.758: D/dalvikvm(404): threadid=11: exiting 09-05 17:45:42.758: D/dalvikvm(404): threadid=11: bye! 09-05 17:45:42.758: D/dalvikvm(404): threadid=20: notify debugger 09-05 17:45:42.758: D/dalvikvm(404): threadid=20 (Thread-1704): calling run() 09-05 17:45:42.758: D/AudioTrack(404): ~audioTrack 0x64109410 09-05 17:45:42.758: D/AudioTrackCenter(404): removeTrack, trackPtr:0x64109410 09-05 17:45:42.758: D/AudioTrack(404): resume 09-05 17:45:42.758: D/dalvikvm(404): threadid=16: bye! 09-05 17:45:42.762: D/dalvikvm(404): threadid=20: exiting 09-05 17:45:42.762: D/dalvikvm(404): threadid=20: bye! 09-05 17:45:43.289: D/EventLogger(404): droppedFrames [85.71, 1] 09-05 17:45:43.290: D/EventLogger(404): droppedFrames [85.71, 1] 09-05 17:45:43.290: D/EventLogger(404): droppedFrames [85.71, 1] 09-05 17:45:43.290: D/EventLogger(404): droppedFrames [85.71, 1] 09-05 17:45:43.290: D/EventLogger(404): droppedFrames [85.71, 1] 09-05 17:45:43.291: D/EventLogger(404): droppedFrames [85.71, 1] 09-05 17:45:43.291: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:43.292: V/PhoneWindow(404): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{4274eb48 V.E..... R.....ID 0,0-720,1280} 09-05 17:45:43.302: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23040723731708, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:43.320: D/GraphicBuffer(404): create handle(0x65402c00) (w:720, h:1280, f:1) 09-05 17:45:43.321: I/MALI(404): [Mali]surface->num_buffers=4, surface->num_frames=3, win_min_undequeued=1 09-05 17:45:43.321: I/MALI(404): [Mali]max_allowed_dequeued_buffers=3 09-05 17:45:43.323: D/GraphicBuffer(404): close handle(0x65402c00) (w:720 h:1280 f:1) 09-05 17:45:43.328: D/GraphicBuffer(404): create handle(0x65402c00) (w:720, h:1280, f:1) 09-05 17:45:43.329: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:43.330: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23040740171862, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:43.353: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{42a0b170 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.full.FullPlayerActivity,ident = 1} 09-05 17:45:43.366: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23040787692631, this = ViewRoot{42a0b170 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.full.FullPlayerActivity,ident = 1} 09-05 17:45:43.366: I/SurfaceView(404): updateWindow -- onWindowVisibilityChanged, visibility = 8 09-05 17:45:43.366: I/SurfaceView(404): Changes: creating=false format=false size=false visible=true left=false top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=false 09-05 17:45:43.366: I/SurfaceView(404): Cur surface: Surface(name=null, identity=654) 09-05 17:45:43.376: I/SurfaceView(404): New surface: Surface(name=null, identity=-1), vis=false, frame=Rect(0, 462 - 720, 867) 09-05 17:45:43.376: I/SurfaceView(404): Callback --> surfaceDestroyed 09-05 17:45:43.376: I/SurfaceView(404): surfaceDestroyed callback + 09-05 17:45:43.376: I/SurfaceView(404): surfaceDestroyed callback - 09-05 17:45:43.376: V/SurfaceView(404): Layout: x=0 y=462 w=720 h=405, frame=Rect(0, 0 - 720, 405) 09-05 17:45:43.377: D/OpenGLRenderer(404): Flushing caches (mode 0) 09-05 17:45:43.377: D/GraphicBuffer(404): close handle(0x63a38818) (w:720 h:1280 f:1) 09-05 17:45:43.378: D/GraphicBuffer(404): close handle(0x63a39fe0) (w:720 h:1280 f:1) 09-05 17:45:43.378: D/GraphicBuffer(404): close handle(0x63a0d5f0) (w:720 h:1280 f:1) 09-05 17:45:43.379: D/GraphicBuffer(404): close handle(0x65401418) (w:720 h:1280 f:1) 09-05 17:45:43.390: I/SurfaceView(404): updateWindow -- OnPreDrawListener, mHaveFrame = true 09-05 17:45:43.634: I/SurfaceView(404): updateWindow -- onDetachedFromWindow 09-05 17:45:43.636: D/dalvikvm(404): threadid=11: interp stack at 0x633df000 09-05 17:45:43.660: D/OpenGLRenderer(404): Flushing caches (mode 0) 09-05 17:45:43.660: V/ViewRootImpl(404): unscheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false, this = ViewRoot{42a0b170 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.full.FullPlayerActivity,ident = 1} 09-05 17:45:44.505: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.519: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23041941442632, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.522: D/GraphicBuffer(404): create handle(0x638df630) (w:720, h:1280, f:1) 09-05 17:45:44.525: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.529: I/SurfaceTextureClient(404): STC::queueBuffer fps:0.84, dur:1196.43, max:1196.43, min:1196.43 09-05 17:45:44.536: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23041957696247, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.540: D/GraphicBuffer(404): create handle(0x63bf46e0) (w:720, h:1280, f:1) 09-05 17:45:44.543: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.552: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23041973948016, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.555: D/GraphicBuffer(404): create handle(0x63bf3218) (w:720, h:1280, f:1) 09-05 17:45:44.559: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.569: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23041990196324, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.573: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.584: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042006448785, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.587: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.601: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042022700016, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.604: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.617: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042038944093, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.619: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.633: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042055192478, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.636: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.649: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042071443862, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.652: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.666: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042087694170, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.668: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.682: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042103947555, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.686: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.698: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042120190632, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.700: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.714: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042136441401, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.717: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.731: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042152690016, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.733: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.747: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042168939170, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.750: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.763: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042185193939, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.766: V/ViewRootImpl(404): scheduleConsumeBatchedInput: mConsumeBatchedInputScheduled = false,mFirstPendingInputEvent = null, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0} 09-05 17:45:44.779: V/ViewRootImpl(404): doConsumeBatchedInput: frameTimeNanos = 23042201440016, this = ViewRoot{428a2580 com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.SampleChooserActivity,ident = 0}

martinbonnin commented 10 years ago

ok, it's a Out-Of-Memory error. I'll look into it.

faifai123 commented 10 years ago

Hi Martin, any luck?

sumantar commented 10 years ago

Any update? We are also facing similar issue

sumantar commented 10 years ago

When are you planning to fix it? We are using it for HLS and want to release our app. Hoping to get your response, Martin.

Thanks for this library.