Skip to content

OOM  #61

@langyazhouwl

Description

@langyazhouwl

When I changed the recorder time ,it crashed throws OOM exception.

Throwing OutOfMemoryError "Failed to allocate a 138240019 byte allocation with 7739856 free bytes and 84MB until OOM"
12-16 15:05:30.514 7518-7632/com.qd.videorecorder E/art: Throwing OutOfMemoryError "Failed to allocate a 138240019 byte allocation with 7739952 free bytes and 84MB until OOM"
12-16 15:05:30.514 7518-7632/com.qd.videorecorder E/AndroidRuntime: FATAL EXCEPTION: Thread-
Process: com.qd.videorecorder, PID: 7518 java.lang.OutOfMemoryError: Failed to allocate a 138240019 byte allocation with 7739952 free bytes and 84MB until OOM at dalvik.system.VMRuntime.newNonMovableArray(Native Method) atjava.nio.MemoryBlock.allocate(MemoryBlock.java:131)at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:73) at com.qd.recorder.RecorderThread.run(RecorderThread.java:49)
12-16 15:06:10.144 7745-7745/com.qd.videorecorder E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
12-16 15:06:10.514 7745-7745/com.qd.videorecorder E/MediaPlayer: Should have subtitle controller already set
12-16 15:06:10.584 7745-7745/com.qd.videorecorder E/MediaPlayer: Should have subtitle controller already set

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions