I thought you were going to increase the number of logs as requested here Memory Full
We have logs covering about 2.5 hours from Apr 29, 2019 10:12 to 12:43
The DVR EPG incremental Refreshes happen every 4 hours
Looking at the memory usage data within the 2.5 hour period covered by the logs, we have
with the significant increase coming in at 10:30:13 (happened between 10:29:43 and 10:30:13)
There was DVR activity and XMLTV related activity but it is not conclusive
We could increase the frequency of the memory capture to be every 10 seconds instead of 30 seconds in the shell script - changing the 30s to 10s
#!/bin/sh
while sleep 10s
do
now=$(date +"%D %T")
mem=$(ps -p $(pidof "Plex Media Server") -o drs=)
echo $now "," $mem >> mem_snapshots.log
done
and also editing Preferences.xml to add the LogNumFiles
field with value of 20 as suggested by @ChuckPa adding
LogNumFiles="20"
Please edit the Preferences.xml only when PMS is shutdown
This shows the major memory usage changes over 36 hour period
and last set of changes - 2 big changes we do not have logs for