[PR #5769] [MERGED] Enable Workstation GC mode #10649

Closed
opened 2026-02-07 06:24:13 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5769
Author: @cvium
Created: 4/11/2021
Status: Merged
Merged: 4/11/2021
Merged by: @Bond-009

Base: masterHead: workstation-gc


📝 Commits (1)

  • 0149179 Enable Workstation GC mode

📊 Changes

3 files changed (+10 additions, -0 deletions)

View changed files

📝 Jellyfin.Server/Jellyfin.Server.csproj (+1 -0)
📝 debian/conf/jellyfin (+5 -0)
📝 fedora/jellyfin.env (+4 -0)

📄 Description

Changes
Default to Workstation GC mode which seems to be what was used in <=10.6. I'm not sure if .NET 5 or the Web API migration is what caused the new default of Server or not, but we've been using ASP.NET for a long time now, so it must be .NET 5.

Workstation uses less RAM than Server and is more suitable for consumer grade hardware. Servers with more RAM might benefit from using Server GC mode, which is run-time overrideable. See https://docs.microsoft.com/en-us/dotnet/core/run-time-config/garbage-collector#workstation-vs-server

Server GC mode reserves a lot of virtual memory, which some devices seem to handle very poorly. Workstation GC reserves much less at the cost of a few more CPU cycles.

Issues
Fixes https://github.com/jellyfin/jellyfin/issues/5554


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/5769 **Author:** [@cvium](https://github.com/cvium) **Created:** 4/11/2021 **Status:** ✅ Merged **Merged:** 4/11/2021 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `workstation-gc` --- ### 📝 Commits (1) - [`0149179`](https://github.com/jellyfin/jellyfin/commit/01491796a285a621c6aebe4f886ee74413e5fbee) Enable Workstation GC mode ### 📊 Changes **3 files changed** (+10 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server/Jellyfin.Server.csproj` (+1 -0) 📝 `debian/conf/jellyfin` (+5 -0) 📝 `fedora/jellyfin.env` (+4 -0) </details> ### 📄 Description <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** Default to Workstation GC mode which seems to be what was used in <=10.6. I'm not sure if .NET 5 or the Web API migration is what caused the new default of Server or not, but we've been using ASP.NET for a long time now, so it must be .NET 5. Workstation uses less RAM than Server and is more suitable for consumer grade hardware. Servers with more RAM might benefit from using Server GC mode, which is run-time overrideable. See https://docs.microsoft.com/en-us/dotnet/core/run-time-config/garbage-collector#workstation-vs-server Server GC mode reserves _a lot_ of virtual memory, which some devices seem to handle very poorly. Workstation GC reserves much less at the cost of a few more CPU cycles. **Issues** Fixes https://github.com/jellyfin/jellyfin/issues/5554 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:24:14 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10649