qdrzwd / VideoRecorder

android视频录制,模仿微视,支持按下录制、抬起暂停。进度条断点显示。
Apache License 2.0
1.8k stars 563 forks source link

启动报java.awt相关依赖,随后OOM崩溃,无法打开app #35

Open jimsoncn opened 8 years ago

jimsoncn commented 8 years ago

E/dalvikvm: Could not find class 'java.awt.Rectangle', referenced from method com.googlecode.javacv.cpp.opencv_core$IplImage.copyTo W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/awt/image/BufferedImage;) 03-17 11:21:36.108 29313-29387/com.qd.videorecorder E/dalvikvm-heap: Out of memory on a 82944016-byte allocation. 03-17 11:21:36.108 29313-29387/com.qd.videorecorder I/dalvikvm: "Thread-2592" prio=5 tid=14 RUNNABLE 03-17 11:21:36.108 29313-29387/com.qd.videorecorder I/dalvikvm: | group="main" sCount=0 dsCount=0 obj=0x42d76068 self=0x680a6888 03-17 11:21:36.108 29313-29387/com.qd.videorecorder I/dalvikvm: | sysTid=29387 nice=0 sched=0/0 cgrp=apps handle=1742954528 03-17 11:21:36.108 29313-29387/com.qd.videorecorder I/dalvikvm: | schedstat=( 0 0 0 ) utm=4 stm=1 core=1 03-17 11:21:36.108 29313-29387/com.qd.videorecorder I/dalvikvm: at dalvik.system.VMRuntime.newNonMovableArray(Native Method) 03-17 11:21:36.108 29313-29387/com.qd.videorecorder I/dalvikvm: at java.nio.MemoryBlock.allocate(MemoryBlock.java:126) 03-17 11:21:36.108 29313-29387/com.qd.videorecorder I/dalvikvm: at java.nio.ReadWriteDirectByteBuffer.(ReadWriteDirectByteBuffer.java:46) 03-17 11:21:36.108 29313-29387/com.qd.videorecorder I/dalvikvm: at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:68) 03-17 11:21:36.108 29313-29387/com.qd.videorecorder I/dalvikvm: at com.qd.recorder.RecorderThread.run(RecorderThread.java:48) 03-17 11:21:36.108 29313-29387/com.qd.videorecorder E/dalvikvm: threadid=14: exiting,name=Thread-2592 03-17 11:21:36.108 29313-29387/com.qd.videorecorder W/dalvikvm: threadid=14: thread exiting with uncaught exception (group=0x41dea498) 03-17 11:21:36.108 29313-29387/com.qd.videorecorder E/AndroidRuntime: FATAL EXCEPTION: Thread-2592 java.lang.OutOfMemoryError at dalvik.system.VMRuntime.newNonMovableArray(Native Method) at java.nio.MemoryBlock.allocate(MemoryBlock.java:126) at java.nio.ReadWriteDirectByteBuffer.(ReadWriteDirectByteBuffer.java:46) at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:68) at com.qd.recorder.RecorderThread.run(RecorderThread.java:48)