---
title: "Reduce memory usage of .NET services on a single machine"
url: https://daily.dev/posts/reduce-memory-usage-of-net-services-on-a-single-machine-7drlkruhb
source_url: https://timdeschryver.dev/blog/reduce-memory-usage-of-net-services-on-a-single-machine
type: article
source: "Tim Deschryver"
author: "Tim Deschryver"
published: 2026-05-31T07:47:10.335Z
updated: 2026-06-01T04:00:49.362Z
tags: ["performance", ".net"]
reading_time: 1
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Reduce memory usage of .NET services on a single machine

**[Tim Deschryver](https://daily.dev/sources/timdeschryver)** · [@timdeschryver](https://daily.dev/timdeschryver) · 1 min read · 0 upvotes · 0 comments

## Summary

When hosting multiple .NET APIs on a single machine, unmanaged memory can grow continuously even without a memory leak. The fix is to disable server garbage collection (GC) and switch to workstation GC mode, which reduces memory consumption at the potential cost of slightly higher CPU usage. This is especially relevant for containerized .NET services co-located on one server.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://timdeschryver.dev/blog/reduce-memory-usage-of-net-services-on-a-single-machine>

## Similar posts on daily.dev

- [Top 10 Ways to Reduce .NET Memory Usage in Kubernetes](https://daily.dev/posts/top-10-ways-to-reduce-net-memory-usage-in-kubernetes-qgmmaatd1) · Ardalis · 1 upvotes · 1 comments
- [What .NET 10 GC Changes Mean for Developers](https://daily.dev/posts/what-net-10-gc-changes-mean-for-developers-rkbz1hnsq) · Hacker News · 4 upvotes · 0 comments
- [Preparing for the .NET 10 GC \(DATAS\)](https://daily.dev/posts/preparing-for-the-net-10-gc-datas--81lrgltf7) · .NET Blog · 0 upvotes · 0 comments
- [The .NET Tools Blog](https://daily.dev/posts/the-net-tools-blog-scy79z1yx) · JetBrains · 1 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#.net](https://daily.dev/tags/.net)

[View this post on daily.dev](https://daily.dev/posts/reduce-memory-usage-of-net-services-on-a-single-machine-7drlkruhb)
