Server Crashes While Loading EPG Data

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
image

and earlier on (no logs available)
image

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