r/filebot • • Oct 20 '26

Is this normal RAM usage?

Post image

Used for about 4-5 minutes, then closed it. That's a lot of RAM usage for that short amount of time. Used to rename around 20 files.

2 Upvotes

3 comments sorted by

2

u/rednoah FileBot Developer Oct 20 '26 edited Oct 20 '26

That graph doesn't give me much to work with... What are the X/Y axis dimensions? What is the RAM usage in MB?

In general, RAM usage is largely unrelated to the duration of time that FileBot is running already or how many files you have renamed. FileBot will use a lot of RAM - especially when you have a lot of RAM available - when it's running, finish the job fast, and then exit.

That said, you can set the -Xmx max memory limit if you have a specific upper bound in mind. What RAM usage do you want? You might be able to get away with as little as 32 MB for CLI usage and 128 MB for GUI usage, but I wouldn't not recommend setting a limit that low for real-world usage.

1

u/FredSanford420 Oct 20 '26

Have 32GB installed. My machine runs at roughly 22% RAM usage with only a browser open. When I use filebot and as you can see, it jumps to almost 60% RAM usage. Sometimes when renaming files in bulk (100+ files), it will crash PC....but really it crashes before the renaming. It will crash as it searches episode list, ie...TMDB for instance.

That graph is just the plex dashboard stats page. Was just curious if filebot was supposed to spike the RAM usage by another 40%. Not sure what it spikes to when PC crashes from the search.

1

u/rednoah FileBot Developer Oct 21 '26 edited Oct 21 '26

Are there any crash logs? Can you reproduce the crashes or trace it to a specific file? FileBot crashing when using the Episodes panel is unheard of. The most likely cause for a crash is libmediainfo crashing the entire process when reading a media file.

If you're using the Plex dashboard to monitor RAM usage, then you're probably not using the FileBot application on your Windows Desktop PC? Can you provide details as to what your setup is doing exactly? Are you running on a Linux server? Are you running filebot from the command-line in an automated setup?

In any case, you can ignore RAM usage if you have plenty of RAM going unused anyway. You could do export FILEBOT_OPTS=-Xmx1g before calling filebot to limit memory usage to 1G and then see if you can still reproduce these memory spikes. But if the filebot process crashes, that is by far the more interesting thing here, and that is most likely not related to memory usage.

That said, the Plex dashboard will tell us nothing, not even if it's actually FileBot that's using all that memory. You'll want to check memory usage with the appropriate tools like htop on Linux or Task Manager on Windows. If you're using the Desktop application, then you can also check memory usage via FileBot itself: https://www.filebot.net/help/debug.html