# Plex Transcoder memory usage increase spike causes crash

**URL:** https://forums.plex.tv/t/plex-transcoder-memory-usage-increase-spike-causes-crash/671696
**Category:** Plex Media Server
**Tags:** server-windows
**Created:** [December 29, 2020, 10:31pm UTC](https://forums.plex.tv/t/plex-transcoder-memory-usage-increase-spike-causes-crash/671696 "2020-12-29T22:31:39Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![La-Menmita](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@La-Menmita](https://forums.plex.tv/u/La-Menmita)
#### Post date: [December 29, 2020, 10:31pm UTC](https://forums.plex.tv/t/plex-transcoder-memory-usage-increase-spike-causes-crash/671696/1 "2020-12-29T22:31:40Z")

</div>

Server Version#: Version 1.21.1.3830  
Player Version#: Occurs on Roku TV app and Android app

I’ve been having an issue lately with the plex transcoder on my Windows Desktop.

Usually the “Plex Transcoder (32 bit)” process uses less than 500 MB of memory. The issue occurs where the Transcoder memory usage spikes up to over 3 GB before finally crashing and closing - ending playback. During the memory increase, I’ve noticed the GPU will stop being used for hardware transcoding.

Server specs:  
CPU - Ryzen 5 2600  
GPU - RTX 3060 Ti  
RAM - 16 GB at 3000 MHz

PMS is installed in a Sata SSD. I’ve run StablebitScanner to check the drive and it’s healthy. Have disabled HDR Tone Mapping and DLNA. Uninstalled and reinstalled PMS. Created a new transcode folder and deleted the codecs folder. May be unrelated but also have noticed an issue where it says the permissions to delete the transcoding session are denied.

Any assistance would be deeply appreciated!

(File removed)

 ![Playback info](https://global.discourse-cdn.com/plex/original/3X/e/8/e80ddf2106d35749665ae6f7574566b7f4084a6d.png) ![plex failure.PNG](https://global.discourse-cdn.com/plex/original/3X/c/b/cb4fbd590fe696d7ca48e6681f534ef46c2beb6a.jpeg)  
 ![RAM](https://global.discourse-cdn.com/plex/original/3X/8/d/8dc9188ba3fab47ab943fa68d43b542e668ae88b.png)  
 ![RAM 1.PNG](https://global.discourse-cdn.com/plex/original/3X/a/6/a68d20a2d8121cc7fe96c0216c2cbab48906e704.jpeg) ![Ram 2.PNG](https://global.discourse-cdn.com/plex/original/3X/b/8/b892a846b5b61ba6b91ee269bffb6bd56d2d750b.jpeg)

---

<div class="post-metadata">

### Author: ![Super4Jet](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@Super4Jet](https://forums.plex.tv/u/Super4Jet)
#### Post date: [December 30, 2020, 11:25am UTC](https://forums.plex.tv/t/plex-transcoder-memory-usage-increase-spike-causes-crash/671696/2 "2020-12-30T11:25:41Z")

</div>

Hi [La-Menmita](https://forums.plex.tv/u/La-Menmita),  
Looking at your logs when the Transcoder died,

 ![image](https://global.discourse-cdn.com/plex/original/3X/6/c/6c64e97ddbadb7afcea345ef51003d1c2d521166.png)  
the transcoder seems to die as a consequence of not having enough memory. Looking at the first screenshot I would say it’s got something to do with hardware transcoding. Does this still occur when disabling this?

---

<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: [December 30, 2020, 11:32am UTC](https://forums.plex.tv/t/plex-transcoder-memory-usage-increase-spike-causes-crash/671696/3 "2020-12-30T11:32:42Z")

</div>

Install the Plex server software into the default location on drive C:  
Then try again.

---

<div class="post-metadata">

### Author: ![La-Menmita](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@La-Menmita](https://forums.plex.tv/u/La-Menmita)
#### Post date: [December 30, 2020, 12:12pm UTC](https://forums.plex.tv/t/plex-transcoder-memory-usage-increase-spike-causes-crash/671696/4 "2020-12-30T12:12:12Z")

</div>

It was on the C drive before. I moved it to see if it would fix the issue. Unfortunately still occurs.

---

<div class="post-metadata">

### Author: ![La-Menmita](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@La-Menmita](https://forums.plex.tv/u/La-Menmita)
#### Post date: [December 30, 2020, 12:16pm UTC](https://forums.plex.tv/t/plex-transcoder-memory-usage-increase-spike-causes-crash/671696/5 "2020-12-30T12:16:26Z")

</div>

Thanks I’ve noticed that. The main reason I purchased a plex pass and the nvidia gpu was to utilize hardware transcoding so I really would like to solve the issue as opposed to turning it off.

Would the memory spike because the cpu can’t handle the software transcoding?

---

<div class="post-metadata">

### Author: ![Super4Jet](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@Super4Jet](https://forums.plex.tv/u/Super4Jet)
#### Post date: [December 30, 2020, 1:59pm UTC](https://forums.plex.tv/t/plex-transcoder-memory-usage-increase-spike-causes-crash/671696/6 "2020-12-30T13:59:02Z")

</div>

I’d suggest it being a driver issue rather than a Plex issue. Since when do you have this problem? Was there an update you installed, like a major Windows Feature Update?

---

<div class="post-metadata">

### Author: ![Imagamer](https://avatars.discourse-cdn.com/v4/letter/i/7ab992/32.png) [@Imagamer](https://forums.plex.tv/u/Imagamer)
#### Post date: [March 1, 2021, 5:14am UTC](https://forums.plex.tv/t/plex-transcoder-memory-usage-increase-spike-causes-crash/671696/7 "2021-03-01T05:14:06Z")

</div>

I’m having the exact same issue, around 500-600MB of memory used then all of a sudden it will spike to 3gb and crash. but unlike you I’m not using hardware encoding. I noticed the issue only happens when i have subtitles enabled with a specific show, was wondering if you have found a fix. my computer is  
R5 2600  
5700XT  
16GB 3000mhz

---

<div class="post-metadata">

### Author: ![Super4Jet](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@Super4Jet](https://forums.plex.tv/u/Super4Jet)
#### Post date: [March 6, 2021, 4:31pm UTC](https://forums.plex.tv/t/plex-transcoder-memory-usage-increase-spike-causes-crash/671696/8 "2021-03-06T16:31:25Z")

</div>

Hi [Imagamer](https://forums.plex.tv/u/Imagamer),  
I believe your issue is that Plex [does](https://forums.plex.tv/t/new-plex-on-windows-has-issues-with-hardware-decoding-10bit-hevc/447871/7) - [not](https://forums.plex.tv/t/local-machine-video-stutter-newly-migrated-server/603184) - [like](https://forums.plex.tv/t/plex-server-hardware-encoding-error-with-amd-gpu/641516) - [Navi-GPUs](https://forums.plex.tv/t/nvidia-shield-freezes-buffers-on-high-bitrate-files-4k-hdr-when-direct-playing/615506) (or the other way around) too much. But would you mind opening a new thread for that? The forum should not become too messy with several issues in one thread. You also ping all the people (including me) dealing with the OP issue, not yours. Not in a mean way, but - you know - keeps my inbox tidy. 🙂

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [June 4, 2021, 4:32pm UTC](https://forums.plex.tv/t/plex-transcoder-memory-usage-increase-spike-causes-crash/671696/9 "2021-06-04T16:32:04Z")

</div>

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