Project

General

Profile

Actions

Bug #4773

open

Memory leak in 4.2 and 4.3 when loading epg

Added by Reggie Burnett over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-12-06
Due date:
% Done:

0%

Estimated time:
Found in version:
4.2.4, latest 4.3
Affected Versions:

Description

I've tried with 4.2.4 and the latest 4.3. I've run TVH in a docker container and directly on my Ubuntu 17.04 system. I've tried tv_grab_file with data from zap2it and schedules direct. I've also tried tv_grab_zz_sdjson.

If I disable all epg grabbers and just watch recordings and live tv (with time shifting) the memory usage is very stable. < 1% no matter what I do.

But as soon as I enable an epg grabber and run it, the memory usage goes up and never comes back down. One run of tv_grab_file pulling in a 14 day xml file from schedules direct leaves the tvh process using 8.9% of system memory and it never goes back down.

If I use the tv_grab_zz_sdjson grabber, within a day or so the memory usage will be 14-15%. Within a few more days i twill be 40-50% and eventually I start gettong OOM errors.

If I use tv_grab_file with data from zap2it, the memory usage is lower (2.5%) but still present.

Really not sure what is going on but feeling very confident that the internal EPG handing has a memory leak.

Actions

Also available in: Atom PDF