I’m using a Synology DS218+ with 6GB of RAM.
Configured my temp transcode directory to /tmp, which greatly increases the performance.
But, it seems that 4GB is not enough for a smooth playback, after 10 or 15 minutes depending on the media, I get an error and have to restart the stream. When troubleshooting it, found that RAM is being full utilized.
I would like to ask if there is an option for the amount of memory RAM that Plex can use for transcode.
If there is such option, I would like to set it to 4GB maximum.
I suppose that by setting this limit would fix my memory issue, and also swap usage.
Look how much is “cached” (buffered). 53GB. That’s memory Linux will try to use if it can but can drop it for whatever purpose instantly if needed (it’s read-only data which is safe to ‘drop’)
Let’s set that aside for a minute.
That said, the issue isn’t RAM unless its defective or you’ve got other things also running which are using it all. In almost all cases, It’s the playback itself with the content.
Would you please do the following so I can see what’s happening?
In Plex/web browser, Settings - SERVER - General - Show Advanced
– Make certain DEBUG logging is enabled
– Make certain VERBOSE logging is disabled
– SAVE button and restart PMS if you make changes
Temporarily change your Transcoder Temp back to the default (which means it uses the HDD)
If you can let it run until failure, Please do so
When it fails, Please download the server logs ZIP file (Settings - Server - Troubleshooting - Download Logs)