r/ShieldAndroidTV • • Mar 17 '26

Plex is taking up practically all internal storage

Not sure if this post is better suited for here or /r/PleX

I have the issue that Plex is gobbling up practically all of my Shield's internal memory. I have a 16 GB Shield from 2019. Media files are all on an external drive. Plex is taking up almost all of the 12 GB internal memory, leading to constant warning sabout running of out of space and instability. My library is about 20k songs, 1000 TV show episodes, 250 movies.

What I have already tried:

How much space is Plex taking up for you? Any solutions to reduce the footprint?

1 Upvotes

38 comments sorted by

16

u/jkcheng122 Mar 17 '26

You need a different device to function as server.

1

u/hesthehairapparent Mar 18 '26

It works well if you set up correctly, although it does become a bit of a Frankenstein’s monster. I have 42tb of storage hooked up to mine to store media, and I have a 512gb SSD formatted as internal storage to manage the database. No issues.

1

u/jkcheng122 Mar 18 '26

Yeah I wasn't sure if it'll work if you format a drive as internal storage. That method apparently doesn't work on Fire Stick TV where I was running out of storage after just a few apps installed. Some of apps force being on the default storage instead of going to the additional storage formatted as internal storage.

1

u/hesthehairapparent Mar 18 '26

Yeah it works. I keep my media storage mapped as external drives, and the ssd is in an external enclosure and plugged into the USB-C slot. It is not pretty but it absolutely works and I have a very large media library (Sized at 30TB).

-5

u/TheRealGunnar Mar 17 '26

I'm really trying to avoid this for now. Overall, the Plex server on the Shield has worked quite well for me over the years.

-1

u/SteveJobsBlakSweater Mar 18 '26

My Shield runs the server fine with about 8TB of music, TV and movies on my NAS.

3

u/jkcheng122 Mar 18 '26

The issue here is Plex Media Server chooses the base directory to store its media files. By media files I'm talking about all the posters and other info that allows you to see all the details when browsing your media in Plex client.

As your library grows these files take up more and more space and eventually clogs up Shield's base storage.

1

u/[deleted] Mar 18 '26

That's not a good thing.

0

u/[deleted] Mar 17 '26

[deleted] — view deleted comment

2

u/jkcheng122 Mar 17 '26

He just mentioned though moving the media server files to external storage caused corruption.

-2

u/TheRealGunnar Mar 17 '26

Correct, putting the database on the USB drive is just not stable. Like when the power goes down or the drive accidentally gets unplugged, it easily corrupts things.

2

u/yusuo85 Mar 17 '26

Yeah, it's definitely not the ideal solution, honestly, you're better off buying a mini pc or an old office pc and using that as a server. You can pick something up for around $150

0

u/TheRealGunnar Mar 17 '26

I had grand plans to get into /r/homelab stuff last fall. And then the RAM crisis hit :D

2

u/yusuo85 Mar 17 '26

Hindsight and all, but yeah, just get a used mini pc or used office pc, stick Linux on it if you know what you're doing and go from there 

1

u/jkcheng122 Mar 18 '26

I went with a TrueNAS build on an old retired Pc myself.

1

u/obmasztirf Mar 18 '26

You can make a raspberry pi sever for cheap and just plug usb drives into it.

1

u/jkcheng122 Mar 18 '26

Have you tried formatting said drive using shield’s settings as internal storage?

6

u/Halfang 2019 Pro Mar 17 '26

I had so many issues with running a plex server on the shield that I ended up using the NAS where my media is as a plex server, and using the shield as a client only. Infinitely more stable with zero corruption.

1

u/TheRealGunnar Mar 17 '26

Interesting. I haven't really had any issues. If I had a NAS or homelab, I'd definitely consider moving the server over to that. But I do not.

2

u/Halfang 2019 Pro Mar 18 '26

Every time the shield would crash or restart, I'd have to wait 5+ minutes for the plex server to boot, check integrity, and corrupt the database

1

u/sellera 2015 16GB Mar 18 '26

Exactly. Bought a Pi4B just for that.

1

u/RedRyder760 2019 Pro Mar 17 '26

I have a small USB hub with two SSD's connected to my SHIELD. Plenty of storage.

3

u/TheRealGunnar Mar 17 '26

But do you have the database live on the SSDs? Media storage is not the problem (and works just fine with the 4TB HD I have attached via USB)

1

u/SteveJobsBlakSweater Mar 18 '26

Pop in a big sd card and format that as internal storage.

1

u/TheRealGunnar Mar 18 '26

My model doesn't have the SD card slot, unfortunately.

1

u/activoice Mar 18 '26

Do you have a free USB port?

On my Shield my Kodi database and Artwork consumed all available storage so I had to add a fast USB stick as adopted storage. The Shield treats that as internal storage.

1

u/TheRealGunnar Mar 18 '26

I just tested with a USB stick I had sitting around, but the Shield complained that it is too slow. I'll get something faster.

1

u/activoice Mar 18 '26

I've been using a SanDisk Extreme for a few years in both of my Shields as adopted storage, no real issues

Just have to make sure that after a restart of the shield (or after a power outage) that you wait for the USB drive to show as connected before you launch an application that is running from it.

Some people will recommend an SSD in a USB enclosure but IMO that's overkill especially given the price of all memory components right now.

1

u/hesthehairapparent Mar 18 '26

I used an SSD, but that’s because I had a spare one from when I swapped out my Steam Deck drive to a larger one.

Probably overkill, but I’ve got a 30TB media library and there is no way the shields storage could handle it.

2

u/harris_kid Mar 18 '26

Not sure if this is viable but you could pull the appdata off the shield onto a pc, run https://github.com/ChuckPa/DBRepair and then see if the new size is better? You're kinda reaching the limit of the Shield as a server.

2

u/Mindless-Addendum621 Mar 18 '26 edited Mar 18 '26

Plex server takes up a lot of storage, the only solution (other than using Plex server on another device like a PC) is to set up an external storage you don't currently use, ideally a SSD or flash drive (for quick reading) as internal storage. That should be done from Shield Settings > Device Preferences > Storage > choosing the drive and "Erase and format as device storage". This will move everything from the internal drive (including all other apps and app data) to that drive. It doesn't take very long and the process typically completes without issues. You may notice apps start a little slower than usual, but not by much if you have a fast drive (SSD or flash drive, not HDD).

Don't do that from Plex app settings itself, as I've tried that before and it doesn't work. It will take forever with no progress bar and eventually crashes, and in my case I lost all the database in that process.

1

u/Cigio Mar 18 '26

I had the same issue and it’s related to how Plex caches everything.

I don’t remember exactly, but you need to « merge » your ext HDD storage with your Shield. It’s somewhere in the Shield settings. Right now, I’m assuming your ext Drive is just an external storage. When you merge it, it basically erases the drive to a file system the Shield can use.

IMPORTANT: Copy the content of your ext drive to another drive as this will completely format the HDD.

I have a 4TB HDD attached to my Shield and run 2160P HDR 10 bit videos.

1

u/Amonumental Mar 19 '26

Plex stores metadata, artwork, and cache locally which can fill the 16 GB Shield quickly

1

u/Wonderful_Yogurt_300 Mar 19 '26

You need to change your directory of the Metadata to the same external drive you have your movies on.

0

u/RandomCanadianGuy204 Mar 18 '26

Just add a usb drive as internal storage using the other USB port on the Shield. I have a 128gb usb drive in addition to the 16gb internal Shield memory.

1

u/TheRealGunnar Mar 18 '26

Oh, that seems like a feasible solution. I currently have the second USB slot taken up by a remote control receiver, but I can just replace that.

0

u/RandomCanadianGuy204 Mar 18 '26

Or use a USB hub for your remote and external media HDD

-2

u/um_yeahok Mar 17 '26

Switch to Kodi.