Skip to content

Out of memory issues #4

@JOJ0

Description

@JOJ0

Hi,
this is the beets plugin I was waiting for, so many thanks! Before I go into technical details: Does anyone also have copntinuing crashes and out of memory issues? I get them on my Linux machine runnin a 6.x kernel and Manjaro.

It seems like when running vibenet, memory is grabbed constantly and never made free again until my 16GB of RAM are full (well 13 in reality it seems according to htop) and Linux' OOM just kills the responsible processes. It happens while analyzing a few hundred files but sometimes even earlier just after a bunch (10? 20?).

I tried reducing threads count to 1 and then disabling OOM just for this process but that was not too useful either.

I do see a lot of things like this but in my opinion faulty mp3's should be catched and ignored somehow:

Note: Illegal Audio-MPEG-Header 0x7d03c489 at offset 508612.
Note: Trying to resync...
Note: Skipped 277 bytes in input.
Note: Illegal Audio-MPEG-Header 0xbb3b6d58 at offset 509934.
Note: Trying to resync...
Note: Skipped 63 bytes in input.
Note: Illegal Audio-MPEG-Header 0x94ace9e5 at offset 511042.
Note: Trying to resync...
Note: Skipped 277 bytes in input.
Note: Illegal Audio-MPEG-Header 0x5c82922d at offset 512364.
Note: Trying to resync...
Note: Skipped 553 bytes in input.
Note: Illegal Audio-MPEG-Header 0xa3a330ae at offset 513962.
Note: Trying to resync...
Note: Skipped 277 bytes in input.
Note: Illegal Audio-MPEG-Header 0xcd0b1432 at offset 515284.
Note: Trying to resync...
Note: Skipped 307 bytes in input.

i'm, not sure if that is correlating with my issues at all to be honest. Just mentioning. I also tried to introduce some additional try/except wrappers to catch any os/file/other exceptions but this was before I realized that not error handling is my problem but OOM shooting :-)

Is anyone else experiencing this behavior or can you just analyze your whole library without issues?

Not very technical post here, I know, just trying to communicate an issue without having much clue where the root cause is. Thanks for reading!

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