The Free Software Media System - Server Backend & API
Enable Workstation GC mode
cvium01491796a285
diff --git a/Jellyfin.Server/Jellyfin.Server.csproj b/Jellyfin.Server/Jellyfin.Server.csprojindex e7f83aff16..98d9903440 100644--- a/Jellyfin.Server/Jellyfin.Server.csproj+++ b/Jellyfin.Server/Jellyfin.Server.csproj@@ -9,6 +9,7 @@<AssemblyName>jellyfin</AssemblyName><OutputType>Exe</OutputType><TargetFramework>net5.0</TargetFramework>+ <ServerGarbageCollection>false</ServerGarbageCollection><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile><TreatWarningsAsErrors>true</TreatWarningsAsErrors>diff --git a/debian/conf/jellyfin b/debian/conf/jellyfinindex 7cbfa88ee8..9ebaf2bd88 100644--- a/debian/conf/jellyfin+++ b/debian/conf/jellyfin@@ -33,6 +33,11 @@ JELLYFIN_FFMPEG_OPT="--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"# [OPTIONAL] run Jellyfin without the web app#JELLYFIN_NOWEBAPP_OPT="--nowebclient"+# [OPTIONAL] run Jellyfin with ASP.NET Server Garbage Collection (uses more RAM and less CPU than Workstation GC)+# 0 = Workstation+# 1 = Server+#COMPlus_gcServer=1+## SysV init/Upstart options#diff --git a/fedora/jellyfin.env b/fedora/jellyfin.envindex bf64acd3f9..56b7a3558d 100644--- a/fedora/jellyfin.env+++ b/fedora/jellyfin.env@@ -35,3 +35,7 @@ JELLYFIN_RESTART_OPT="--restartpath=/usr/libexec/jellyfin/restart.sh"# [OPTIONAL] run Jellyfin without the web app#JELLYFIN_NOWEBAPP_OPT="--noautorunwebapp"+# [OPTIONAL] run Jellyfin with ASP.NET Server Garbage Collection (uses more RAM and less CPU than Workstation GC)+# 0 = Workstation+# 1 = Server+#COMPlus_gcServer=1