EPG (OTA) / RAM usage
Added by G Ho almost 7 years ago
Last year my first attempt failed to run TVH on a router with OpenWrt (64MB RAM). Got segmentation faults. Now, after a second attempt, I know that most of the memory is being used for the in-memory EPG. Without any EPG OTA-grapper selected TVH works as intended (w/ total memory usage of 45MB). At my number of channels, EPG alone apparently consumes up to 80MB (derived from usage of swap space on flash memory).
So I need a EPG grapper with lower memory footprint.
Replies (5)
RE: EPG (OTA) / RAM usage - Added by G Ho almost 7 years ago
totally agree with http://tvheadend.org/issues/4854#note-2
RE: EPG (OTA) / RAM usage - Added by saen acro almost 7 years ago
Possible solution is to be limited count of events per channel,
or limited by time.
Add new Issue for this.
RE: EPG (OTA) / RAM usage - Added by G Ho over 6 years ago
Changed locally this line in "eit.c" from...
if(tableid < 0x4e || tableid > 0x6f || len < 11)... to ...
if(tableid < 0x4e || tableid > 0x4f || len < 11)
so only now and next entries are getting processed and memory usage of EPG gets very low.
RE: EPG (OTA) / RAM usage - Added by saen acro over 6 years ago
Add Issue for this.
Feature to be processed limited events.