FAQ  •  Register  •  Login

High Memory Usage

<<

Dypsis

User avatar

Streaming enthusiast

Posts: 45

Joined: Sat Nov 02, 2013 7:13 am

Location: Brisbane, Australia

Post Sun Oct 23, 2016 7:08 am

High Memory Usage

ServiioService.exe is using 320 MB.
Is that acceptable to be running with that much all the time?
Version 1.6.1 used only a fraction of that.

Serviio v1.6.1 is using 70 MB.
Serviio v1.7.1.1 is using 320 MB.

To me, that is too high.
I also have other DLNA servers running at only a fraction of what Serviio v1.7.1.1 is using.

I like this application, but in my opinion the memory usage of Serviio v1.7.1.1 is far too high.
<<

dominotes

Streaming enthusiast

Posts: 22

Joined: Fri Oct 14, 2016 6:23 am

Post Sun Oct 23, 2016 11:48 am

Re: High Memory Usage

Hello Dypsys,

I'm new with Serviio, so maybe I'm wrong :
The serviio app uses java; java caches all your thumbnails (according to the limit set in the serviio.sh script : see # Execute the JVM in the foreground
exec "$JAVA" -Xmx10G -Xms2G)

The more memory you have, the more serviio CAN use it.
This makes serviio faster if you recall an already visited page. Or if someone else uses one already visited page. No need to access the hard disk again !
So yes, consider this as an advantage.

In my case, I've seen serviio (java process) using up to 9 Gb, that is more than your 320 Mb !

You can reduce the max amount of memory serviio can use, just edit your file (I'm running linux, but you have something similar under WIndows)
But your serviio will not be as fast as it could.

Memory = fast
No memory = slower.

Developers could confirm.

Note : servioo does not only cache thumbnails, but titles, etc which use less memory compared to thumbnails.
<<

smiffypr

Serviio newbie

Posts: 2

Joined: Fri Jan 19, 2018 8:28 pm

Post Tue Sep 13, 2022 10:41 am

Re: High Memory Usage

I have just installed serviio on my windows 10 "server". When I added a couple of media folders, the system memory use gradually increased from around 8GB to 15.9GB (out of 16GB) at which point the system became unresponsive. (At this point the C drive is working flat out paging). I had to force a restart then quickly uninstall serviio before the memory was gobbled up again. I have tried old versions as well as the latest versions, but the only way that I have found that I don't run out of memory in a few minutes is to only have one media folder set up. In the past I had serviio running on a laptop with a much smaller number of media files, but never noticed this phenomenon. As Java is mentioned above, I wonder if it could be due to a java update?
Any ideas of how to avoid this.
<<

atc98092

User avatar

DLNA master

Posts: 5432

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Sep 13, 2022 2:35 pm

Re: High Memory Usage

I'm looking at my main Serviio install. It's on a Windows 10 computer with 8 GB of RAM. There are two instances of Serviio Service running, with one using 164 MB of memory and one using 0.1 MB. Serviio is currently using no more than 3% of the CPU (quad core i5), and is usually less than 1%, and the computer hasn't been rebooted for several days, with the more recent Windows update. I have no Java processes running at the moment other than the updater background service. Of course, there is no device streaming from my server at the moment.

My C drive is an SSD, but other than Serviio being installed on it I don't use the C drive for anything else for Serviio. I have the transcoding folder on a different, standard hard drive, and all my media is stored on other normal hard drives.

Remember that when you first set up Serviio, it is scanning your media folders and retrieving metadata for each file. Depending on the number of titles in your media library, this process could take some time. That would register as increased resource use, but would eventually complete and your resource use should be similar to mine.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 73 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.