James Struble Posted December 30, 2020 Share Posted December 30, 2020 I am running plex, roon, handbrake, binkex-krusader, wireguard, and duckdns on 16gb of RAM. I keep running out of memory about once a day. For a little more detail: The Plex DVR functionality with commercial removal, then I handbrake the files, and use krusader to move the files. Roon is connected to a number of albums Also how do I make sure that swap memory is running on my cache drive mediaserver-diagnostics-20201230-1756.zip Quote Link to comment
Hoopster Posted December 31, 2020 Share Posted December 31, 2020 29 minutes ago, James Struble said: I am running plex, roon, handbrake, binkex-krusader, wireguard, and duckdns on 16gb of RAM. I keep running out of memory about once a day. For a little more detail: Is Plex recording from HDHomeRun and do you have Plex set to transcode in RAM? I used to run out of memory for HDHR HD records when there were overlapping 1-hour+ records. HDHR changed a few months ago to make it possible to time shift through recordings in progress. If Plex is set to transcode to RAM, HDHR records are using a LOT more RAM than they used to. It was taking up to 16GB RAM per recording session and I had only 32GB RAM. I now have 64GB RAM and have limited the RAM transcoding location to 16GB forcing Plex to clean up more often and I have configured the HDHR records to transcode to smaller file sizes while recording. That seems to work well and I have not seen the RAM issues I used to have in quite a while. Quote Link to comment
James Struble Posted January 1, 2021 Author Share Posted January 1, 2021 I have previously transcoded in RAM and have moved to the cache about two month ago to try to resolve this issue. Quote Link to comment
Cpt. Chaz Posted January 2, 2021 Share Posted January 2, 2021 i wasn't able to tell what's causing the problem, but definitely seeing the error in your syslog. plex is often the culprit. couple ways to handle it. next time it happens, type htop in the terminal and take a look at the memory processes running and see if you can identify the culprit. another way would be to disable all the containers, except for one at a time and see which one is using up all your mem. once you find the container causing problems, go into the container settings page, and in the extra parameters you can manually limit the amount of memory a container can use by entering something similar to the following: --memory=8G More info on this can be found here. You may have to play around with the amount of ram that you allocate. if plex is the problem, limiting ram may cause problems on a live stream transcode and commercial removal (hopefully not, but best case it will most likely increase the amount of time it takes to process these files). hopefully the problem is handbrake, in which case limiting it's memory usage will also increase process times, but that's better than the alternative. it also looks like you have two empty DIMM slots, filling those will almost certainly help your problem 😉 Quote Link to comment
James Struble Posted January 2, 2021 Author Share Posted January 2, 2021 Cpt, thanks. I have added the following variable and we will see how it goes Quote Link to comment
itimpi Posted January 2, 2021 Share Posted January 2, 2021 1 hour ago, James Struble said: Cpt, thanks. I have added the following variable and we will see how it goes I do not think that will work The option should be added to the ‘extra parameters’ section of the container’s template. When editing the settings for the container you need to switch to the Advanced view using the toggle at upper right to see that field. Quote Link to comment
James Struble Posted January 2, 2021 Author Share Posted January 2, 2021 itimpi, thanks for the correction, I have updated and will see how it works. Quote Link to comment
James Struble Posted January 7, 2021 Author Share Posted January 7, 2021 Thank you so much for your suggestions, --memory=xG has limited the applications and resolved my memory issues 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.