Using Serviio with very large libraries
Hi
I thought it might be useful to post my experience using Serviio with a large library on Windows 10.
When I say "large library", Serviio currently reports 30968 music tracks, 4667 videos and 480798 images. I've been casting around for some time to try and find a media server that will deal adequately with all that and, eventually, happened upon Serviio. I installed it without a problem, mapped the appropriate drives to it and away we went. Except that it wasn't seeing new content or deleting entries that no longer existed - aka the delta engine wasn't running. I had almost resigned myself to doing a "Force refresh" every day (tedious!) when I came across a useful post by Falk elsewhere on this forum "Reliability with a large library". To cut a long story short, he had found that Java runs out of heap space for the delta engine with large libraries. After a bit of experimenting, I have managed to get Serviio running happily albeit that library updates can take 24 hours to appear.
I'm running Serviio from the .bat file (it suits my set-up better). I've modified this so that Serviio goes to my local 64-bit Java install rather than the 32-bit version that comes with the server - 64-bit Java gives access to much more memory. I increased the maximum heap size to 4 gigabytes initially (-Xmx4096M) and suddenly things worked! I monitored Java's use of memory through Windows Task Manager and it peaked at about 1.2GB so I've since cut the maximum heap size back to 2GB. In retrospect, I might have made it work with the 32-bit version of Java (maximum available heap size there is reputed to be about 1.4GB on Windows) but with this configuration I shouldn't run into problems as the library expands.
I'd like the indexing side of Serviio to be faster, but at least it works - and for what I need, it's free! Thanks, Serviio team!
I thought it might be useful to post my experience using Serviio with a large library on Windows 10.
When I say "large library", Serviio currently reports 30968 music tracks, 4667 videos and 480798 images. I've been casting around for some time to try and find a media server that will deal adequately with all that and, eventually, happened upon Serviio. I installed it without a problem, mapped the appropriate drives to it and away we went. Except that it wasn't seeing new content or deleting entries that no longer existed - aka the delta engine wasn't running. I had almost resigned myself to doing a "Force refresh" every day (tedious!) when I came across a useful post by Falk elsewhere on this forum "Reliability with a large library". To cut a long story short, he had found that Java runs out of heap space for the delta engine with large libraries. After a bit of experimenting, I have managed to get Serviio running happily albeit that library updates can take 24 hours to appear.
I'm running Serviio from the .bat file (it suits my set-up better). I've modified this so that Serviio goes to my local 64-bit Java install rather than the 32-bit version that comes with the server - 64-bit Java gives access to much more memory. I increased the maximum heap size to 4 gigabytes initially (-Xmx4096M) and suddenly things worked! I monitored Java's use of memory through Windows Task Manager and it peaked at about 1.2GB so I've since cut the maximum heap size back to 2GB. In retrospect, I might have made it work with the 32-bit version of Java (maximum available heap size there is reputed to be about 1.4GB on Windows) but with this configuration I shouldn't run into problems as the library expands.
I'd like the indexing side of Serviio to be faster, but at least it works - and for what I need, it's free! Thanks, Serviio team!