Thank you. I will be looking at the logs and memory snapshots tonight.
I have looked at the logs and the memory snapshots and it does appear to be similar to the EPG refresh issue investigated in this topic Non-responsive after 1.15.0.659 ubuntu upgrade - #74 by sa2000
It is possible that XMLTV EPG Refresh has more demand for memory than the normal refresh. The following shows the increases
This shows the increases during EPG Refresh

and earlier on (no logs available)

With regards to the recording failures - this happened at 11:50:56
Mar 25, 2019 11:50:56.936 [0x7fa554ff9700] ERROR - [Transcoder] av_interleaved_write_frame(): Stale file handle
Mar 25, 2019 11:50:56.938 [0x7fa5cf7fe700] ERROR - [Transcoder] Error writing trailer of /media/video2/TCM/.grab/0d5380ce7a4a2c39216157bfd43620da456457da/Great Expectations (1946).ts: Stale file handle
Mar 25, 2019 11:50:57.397 [0x7fa5f1073700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 22537 is 1 (failure)
at the time the Plex Media Server was using 10,658,688 KB memory which must have led to the transcoder failing as above
I will add your diagnostics to the issue i have already raised with the development team. There may be additional memory leaks for XMLTV or may be just that more memory is needed to process XMLTV Guide data
ok, also made some more tests here and finally also have to say xmltx epg data is raising the RAM usage …
my server also crashed in docker (i limited it now to 2 gigs for testing).
saple from logs (Unraid)
Apr 16 12:21:31 AlsServer kernel: Memory cgroup out of memory: Kill process 4816 (Plex Media Serv) score 834 or sacrifice child
Apr 16 12:21:31 AlsServer kernel: Killed process 5061 (Plex Script Hos) total-vm:1478260kB, anon-rss:166748kB, file-rss:1360kB, shmem-rss:0kB
now, for fun i replaced my tv source to PMS Guide Data and i see memory stays stable at 380mb after refreshing guide data …
so, after /tmp flling up with guide data (was fixed) now RAM gets filled with guide data in some way …
as note, plex doesnt run at all here, just idles and refreshing guide data, no playback, no nothing, only a fallback option currently here 
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
Plex Media Server beta 1.17.0.1709 released earlier today has changes that should reduce the number of times the EPG is refreshed when XMLTV is used.
See Release Notice here Plex Media Server - #286 by emilybersin
- (DVR) Enhanced Plex Media Server’s performance by skipping reads of previously processed XMLTV guide data. (#9846)
I believe it now checks the date and time of the file and would only process it if there have been changes