Plex memory use on qnap server grows disproportionately with each new movie

Server Version#: QNAP TS 253A QTS - Linux
Player Version#:

As I load movies, the memory use (leak?) grows disproportionately. I have found that if I delete Plex App and reinstall, the memory use returns to a normal amount. Is there an easier way to correct this without deleting the app and reinstalling?

The first time it was up to 6 GB of my 8 GB hard drive. It is now back up to 5 GB. I will have to delete the APP and reinstall soon if there is no other alternative.

Are you talking about disk space used? That’s not a memory leak.
It sounds like you are getting chapter thumbnail images generated. They take up a lot of space.

If you don’t want them, you can disable them when you create the library OR delete them after.
On a QNAP, I recommend turning them off and save the CPU.

The problem is not storage disk space but ram. I have 8 gb of ram, and when I deleted plex last week, and then reinstalled, it Plex was using 6 gb of ram. I now have over 1 gb of ram tied up with Plex after loading about 8 movies.

I find no way to clear out the ram use other than delete the plex app and then reinstall the app. Then, as long as I don’t load more movies, the ram use stays well below 1 gb.

The ram use is on my Qnap NAS.

So I just checked, and my Plex ram use is now up to 2 gb.

I found out that I can restart my NAS and that appears to clear out the RAM use. It dropped from 2 GB down to 200 MB. It shouldn’t increase to the point it would shut down my NAS, but at least I found a remedy to fix it without deleting the app and reloading everything.

Please understand how Linux uses ram?

“Free” ram will be used as disk buffers.
“Free” ram will drop to about 150 MB.
Because it’s a disk read-only buffer, the kernel takes it for an application instantly when needed.

Plex’s working storage will grow to about 1GB, this is normal. It loads up at about 250MB but depending on usage, will grow up to 1GB.

The DLNA server currently has a memory leak. Engineering has been trying to find it but can’t.
If DLNA isn’t required, it is suggested to turn it off.

Thanks for the suggestions and update. I am not a computer buff so a lot of the terminology goes over my head. I found the DLNA option and turned it off. I just read a little about DLNA and what that is the day before you sent me the email! I enjoy PLEX and learning more about videos and computers and technology, but I am not an expert, so your suggestion was helpful on what to turn off. I will see how that works!

I’m having the same problem and it doesn’t appear to be DLNA alone though I will try that for now. My QNAP tells me the DLNA is using about 3.8GB of ram and the server it self is using about 5.3GB of the 16GB of usable memory. Plex is taking up over 1/2 of memory on my NAS server.

What else is using so much storage on my machine. I was having a problem with the music library never finishing a scan of about 18K files but that appears to have finally stopped after nearly 2 weeks. It should no longer be that and I haven’t added any new files in about a week.

A simple temporary solution that I can understand is to turn off and restart the NAS server. My Plex memory use dropped from 6 GB out of 8 GB on the system down to 256 MB. I understand it is a memory leak, so Plex program keeps using more memory and can’t turn it loose when a process is finished. They are working on it. They suggested I turn off some Plex system alternatives, which did, so waiting to see if that helps.

Thanks. Hopefully I’ll see a post here. I turned off the DLNA since they said that definitely had a memory leak. I was just surprised that the main server app also had one that they didn’t mention.

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