Skip to content

rkmpv default setting run out of memory and crashing rock64 #272

@ComputerLag

Description

@ComputerLag

mpv default cache settings are too large for rock64 1GB memory + 460M swap.
The result is the system hangs and then crashes after playing a video long enough for the cache to exhaust all memory.
See: mpv-player/mpv#5359 (comment)

I recommend adding a default cap on demuxer-max-bytes or demuxer-readahead-secs

Below is a sample of my config to workaround the issue

~/.config/mpv/mpv.conf

demuxer-max-bytes=41943040
demuxer-max-back-bytes=41943040

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions