# Memory leak?

**URL:** <https://forums.plex.tv/t/memory-leak/941079>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [July 27, 2026, 11:58am UTC](https://forums.plex.tv/t/memory-leak/941079 "2026-07-27T11:58:30Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morphy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/morphy/32/11124_2.png) [@Morphy](https://forums.plex.tv/u/Morphy)\
**Post date:** [July 27, 2026, 11:58am UTC](https://forums.plex.tv/t/memory-leak/941079/1 "2026-07-27T11:58:30Z")

</div>

Hi guys.

Running my Plex server on a Proxmox Host with kernel 7.0.14-6-pve .

LXC container is running Ubuntu 24.04 .

Server Version#: 1.43.3.10828

When I check my host - it seems that my Plex server is consuming a lot of memory

```auto
ps aux --sort=-%mem | head -n 15
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
plex 323 11.5 44.3 14952120 11161892 ? Ssl Jul26 111:24 /usr/lib/plexmediaserver/Plex Media Server

```

There is nothing running on the server now. Usually when I play a 4K movie with Dolby Atmos - I can see the memory goes insane like a memory leak. If I dont stop it and it just keeps playing, the server is crashing.

Server is having 24GB of memory. Stopping the service and start it again - everything looks normal:

> ```auto
> ps aux --sort=-%mem | head -n 15
> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
> plex 7743 0.0 0.2 241200 65620 ? Ssl 14:00 0:01 /usr/lib/plexmediaserver/Plex Media Server
> 
> ```

What am I missing here?

Thanks

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [July 27, 2026, 12:20pm UTC](https://forums.plex.tv/t/memory-leak/941079/2 "2026-07-27T12:20:08Z")

</div>

If enabled, turn off the Plex DLNA server. It has a known memory leak.

---

<div class="post-metadata">

**Author:** ![Morphy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/morphy/32/11124_2.png) [@Morphy](https://forums.plex.tv/u/Morphy)\
**Post date:** [July 27, 2026, 12:56pm UTC](https://forums.plex.tv/t/memory-leak/941079/3 "2026-07-27T12:56:20Z")

</div>

@FordGuy61 thanks for the quick reply 🙂 appreciated.

But I never have had DNLA enabled on my servers hence I never used it on my LAN.

But what concerns me - that memory is getting eat up by 4K movie streaming with content that seems to use DOLBY Atmos. When I play the same movie with AC3 5.1 its running smooth without issues. Memory stable .

This part over night that memory isnt down to a normal use ( even with no users on the server ) . Like memory isnt cleared by the plex server. Never seen that issue before ( well I havent noticed this before ).

But my external streaming dont allow 4K content, so thats not the issue. Its seen on normal resolutions on 1080P with Dolby 5.1 and Dolby Atmos sound. Really strange.

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [July 27, 2026, 7:08pm UTC](https://forums.plex.tv/t/memory-leak/941079/4 "2026-07-27T19:08:02Z")

</div>

Did you set the transcoding temp folder to a RAM disk?

---

<div class="post-metadata">

**Author:** ![Morphy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/morphy/32/11124_2.png) [@Morphy](https://forums.plex.tv/u/Morphy)\
**Post date:** [July 27, 2026, 7:26pm UTC](https://forums.plex.tv/t/memory-leak/941079/5 "2026-07-27T19:26:12Z")

</div>

@OttoKerner Yes, but normally after a stream is done , it drops rapidly. This today was actually the first time over night I ever seen an idle plex server using over 10GB of memory .

No active streams or butler running.  
Really strange

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [July 27, 2026, 10:00pm UTC](https://forums.plex.tv/t/memory-leak/941079/6 "2026-07-27T22:00:23Z")

</div>

> [@Morphy](#):
>
> Usually when I play a 4K movie with Dolby Atmos

TrueHD and/or EAC3 audio?

Is the audio transcoding?

If so, also monitor memory utilization of EasyAudioEncoder. Plex uses EAE to decode TrueHD and Dolby Digital Plus.

---

<div class="post-metadata">

**Author:** ![Morphy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/morphy/32/11124_2.png) [@Morphy](https://forums.plex.tv/u/Morphy)\
**Post date:** [July 28, 2026, 2:41am UTC](https://forums.plex.tv/t/memory-leak/941079/7 "2026-07-28T02:41:34Z")

</div>

@FordGuy61 yes for external stream yes. And sound mostly is ac3

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [July 28, 2026, 3:34am UTC](https://forums.plex.tv/t/memory-leak/941079/8 "2026-07-28T03:34:35Z")

</div>

Why not try setting your transcode location to local storage to rule that out?

---

<div class="post-metadata">

**Author:** ![Morphy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/morphy/32/11124_2.png) [@Morphy](https://forums.plex.tv/u/Morphy)\
**Post date:** [July 28, 2026, 4:19am UTC](https://forums.plex.tv/t/memory-leak/941079/9 "2026-07-28T04:19:09Z")

</div>

Well I could do that , but I moved transcode to memory to save the lifespan on my nvme drives.

Have plenty of memory . Maybe it was a onetime thing. Nothing to see on the server today.

Just curious - will download from the server have any impact on the storage/ memory? It need to optimize for the download right ? So transcoding and available for download. ?

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [July 28, 2026, 7:13am UTC](https://forums.plex.tv/t/memory-leak/941079/10 "2026-07-28T07:13:44Z")

</div>

> [@Morphy](#):
>
> Just curious - will download from the server have any impact on the storage/ memory? It need to optimize for the download right ? So transcoding and available for download. ?

When transcoding a download, Plex transcodes the entire file then downloads it to the client. The server will need enough space to hold the entire transcoded file. If enough space is not available, then the download will fail.

The `Downloads temporary directory` can be configured in Settings → Transcoder + Show Advanced. The default location is in the [Plex Data Folder](https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/).

It is very easy to chew through RAM if transcoding to a RAM disk, especially if the person downloading has Quality = Original (default).

Consider setting the `Downloads Temporary Directory` to a physical drive.

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [July 28, 2026, 7:15am UTC](https://forums.plex.tv/t/memory-leak/941079/11 "2026-07-28T07:15:09Z")

</div>

> [@Morphy](#):
>
> will download from the server have any impact on the storage/ memory? It need to optimize for the download right ? So transcoding and available for download. ?

In most cases, yes. That’s why there’s now a separate temp path setting for downloads and optimizations, because a ram drive usually cannot fit the optimized file of a whole movie.  
So you should direct that one to regular storage. You could even use “spinning rust” for that, because the bitrates are typically so low that they don’t require SSD speeds.

---

<div class="post-metadata">

**Author:** ![Morphy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/morphy/32/11124_2.png) [@Morphy](https://forums.plex.tv/u/Morphy)\
**Post date:** [July 28, 2026, 7:49am UTC](https://forums.plex.tv/t/memory-leak/941079/12 "2026-07-28T07:49:57Z")

</div>

GREAT - Didnt think of that one 😃

@OttoKerner @FordGuy61 and @pshanew

Thanks for all of you for the great inputs 🙂

Will try make a folder on a nfshare for this job.

Cheers 🙂

---

<div class="post-metadata">

**Author:** ![Morphy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/morphy/32/11124_2.png) [@Morphy](https://forums.plex.tv/u/Morphy)\
**Post date:** [July 28, 2026, 8:34am UTC](https://forums.plex.tv/t/memory-leak/941079/13 "2026-07-28T08:34:55Z")

</div>

Ok stuck 😕

I tried to make a nfs share ( which I see isnt recommended ) , but at least the conversion / optimizer was running, but download to the Plex app didnt work.

Then I tried to add a new folder under my /home/plex/downloads . Plex dont seem to start conversion at all - waiting for server to start.

Last I tried to use the standard folders of Plex

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server

Didnt work either..

What am I doing wrong ? ☹

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [July 28, 2026, 8:38am UTC](https://forums.plex.tv/t/memory-leak/941079/14 "2026-07-28T08:38:45Z")

</div>

If the EAE is involved for transcoding audio, you probably don’t want to mount with NOEXEC. The EAE is working inside that folder.  
I’m no Linux expert, but the strict separation of data and programs rule would speak against putting this temp folder underneath of /home.

---

<div class="post-metadata">

**Author:** ![Morphy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/morphy/32/11124_2.png) [@Morphy](https://forums.plex.tv/u/Morphy)\
**Post date:** [July 28, 2026, 9:10am UTC](https://forums.plex.tv/t/memory-leak/941079/15 "2026-07-28T09:10:27Z")

</div>

Thanks @OttoKerner

But even with empty folder details under the transcode section won’t work .

So plex should use its standard folders to do the optimization I guess or does this transcode folder option need specific folder information for the download option to work ?

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [July 28, 2026, 9:11am UTC](https://forums.plex.tv/t/memory-leak/941079/16 "2026-07-28T09:11:42Z")

</div>

> [@Morphy](#):
>
> But even with empty folder details under the transcode section won’t work .

That means it’s falling back to the previous transcoder temp setting i.e. your RAM drive, which isn’t large enough.

Here’s an older post which lists the most common sources of trouble with the EAE: [Almost none of my contents plays - #5 by OttoKerner](https://forums.plex.tv/t/almost-none-of-my-contents-plays/898817/5)

---

<div class="post-metadata">

**Author:** ![Morphy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/morphy/32/11124_2.png) [@Morphy](https://forums.plex.tv/u/Morphy)\
**Post date:** [July 28, 2026, 10:29am UTC](https://forums.plex.tv/t/memory-leak/941079/17 "2026-07-28T10:29:07Z")

</div>

Thanks for the great support 🙂

Will look into this right away .

Kr

Morph

---

<div class="post-metadata">

**Author:** ![Morphy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/morphy/32/11124_2.png) [@Morphy](https://forums.plex.tv/u/Morphy)\
**Post date:** [July 28, 2026, 10:32am UTC](https://forums.plex.tv/t/memory-leak/941079/18 "2026-07-28T10:32:55Z")

</div>

Freaking… h.. 😃

Somebody kick me in the nuts..

@OttoKerner my system DIDNT work - because I wasnt on the WIFI 😃 . The IOS Plex app writes that in the bottom of the app, very small.. didnt see that 😃

SO im trying again hah

CHEEERS
