Skip to content
This repository was archived by the owner on Apr 19, 2019. It is now read-only.

Memory leak #35

@TRPB

Description

@TRPB

This seems to be an issue with this plugin. Whenever I'm watching a TVHeadend stream via HTSP the memory usages for buff/cache grows and grows here's me running free over the space of about 1 minute:

[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.5G        2.8G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.6G        2.9G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.6G        3.0G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.7G        3.1G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.8G        3.1G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.8G        3.2G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        2.8G        3.2G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.0G         11G        3.0G        3.3G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         11G        3.0G        3.4G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         11G        3.1G        3.4G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         10G        3.2G        3.6G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         10G        3.3G        3.6G         11G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         10G        3.3G        3.7G         10G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         10G        3.5G        3.8G         10G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G        6.9G        7.2G        7.6G        7.0G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G        6.8G        7.2G        7.6G        7.0G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G        6.8G        7.3G        7.7G        6.9G
Swap:           14G         38M         14G
[media@media ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G        6.8G        7.3G        7.7G        6.9G
Swap:           14G         38M         14G
[media@media ~]$ 

Eventually VLC crashes when it runs out of memory. This may be something to do with timeshifting as I have that enabled in TVHeadened, but as that's the only reason to run HTSP instead of HTTP it's unlikely nobody else has encountered this.

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