当我使用 FFmpegFrameRecorder 录制视频时,它会显示此错误
E/AndroidRuntime: FATAL EXCEPTION: Thread-36
java.lang.OutOfMemoryError: Physical memory usage is too high: physicalBytes (1100M) > maxPhysicalBytes (1024M)
at org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:588)
at org.bytedeco.javacpp.Pointer.init(Pointer.java:124)
at org.bytedeco.javacpp.avcodec$AVPacket.allocate(Native Method)
at org.bytedeco.javacpp.avcodec$AVPacket.<init>(avcodec.java:1516)
at java.lang.Thread.run(Thread.java:784)
. 谁能帮我解决这个物理内存问题?
相关分类