PMS not freeing up RAM

Server Version#: 1.32.5.7349-7000
Player Version#:
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>
Running PMS 1.32.5.7349-7000 on Synology DS218+ NAS with 2 GB RAM running DSM 7.1.1-42962 Update 6. After a few weeks of use I get a message from Synology DS that I’ve run out of RAM. Upon inspection it seems that PMS has acquired all available RAM and caused the Synology DS to block logins. Only solution I’ve found is to force quit the NAS and restart. Have to do this every couple of weeks. After restart the amount of RAM used is generally less than 50%. I could not find any information about this in the forum. Any suggestions would be appreciated.

Most of us run at least 4, usually 8GB, in a Syno for media server use.

2GB works ok for file serving but not for video processing (transcoder).

what you’re seeing is FREE/Buffer cache get loaded up and SWAP OUT the programs. It takes time to bring them back in when you want to log in.

You can get an a memory upgrade kit / stick and plug it into the NAS (along side the drives).

If you’re curious, just search DS218+ memory upgrade and you’ll see the video how-to’s

ChuckPa: Thank you for the recommendation. I will give that a try.

if you have the DLNA server enabled in the settings you may want to turn that off.

M.

Manish, than you for the suggestion but the DLNA server is disabled, by default, on PMS and I’m still having the problem.

ChuckPa, I received and installed an additional 4 GB of RAM bringing the total to 6 GB. I’ll report back in a month or so to update if this solution worked.

@GenePlex01

If we need to get more detailed, we can enable memory logging.
It will put a lot more info into the logs so we’ll need be careful about how quickly they ‘roll over’

To add that logging,

  1. Install Synology Text Editor app on the NAS
  2. In FileStation, navigate PlexMediasServer/AppData/Plex Media Server
  3. Stop Plex
  4. Right-click Preferences.xmlEdit with Text Editor (don’t use a PC)
  5. Cursor down and to the right on the last line.
  6. In front of the closing />, add LogMemoryUse="1"
  7. It will look like this when done: SomeOtherPref="Value" LogMemoryUse="1" />
  8. Save and exit the file
  9. Start Plex

Your logs will now also report memory utilization
These will be for Engineering use if there’s a specific problem which pokes up

ChuckPa, Thanks for the detailed instructions on how to log memory utilization. I’ve completed that and will report back if I continue to have problems!

If you want to peek at it along the way,

Go into the “Logs” directory.
Right-click on any of the Plex Media Server.x.log files → Open with Text Editor

Now you can scroll down and look at the memory usage info as it’s added

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.