---
title: "Memory management (medium)"
description: "Allocation, garbage collection, ownership, memory leaks"
url: "https://swe.quest/tags/memory-management?difficulty=medium"
---

# Memory management (medium)

Topic in Compilers & runtimes: Allocation, garbage collection, ownership, memory leaks

By difficulty: [Easy](https://swe.quest/tags/memory-management.md?difficulty=easy) · [Medium](https://swe.quest/tags/memory-management.md?difficulty=medium) · [Hard](https://swe.quest/tags/memory-management.md?difficulty=hard)

Posts 1–24 of 58, page 1 of 3, newest first.

## 2026-11-17

- [Using a "chaos loop" to harden the Claude Docs launch: 60 server errors across billions of requests](https://swe.quest/articles/using-a-chaos-loop-to-harden-the-claude-docs-launch-60-server-errors-across-814869793f97ca91.md): claude.dev · 2026-11-17 · Medium · 11 min read · Chaos engineering, AI agents, Scaling, Rust, Memory management
  Before launching Claude Docs, a two-week "chaos loop" had Claude Code drive a production-mirroring staging cluster at over a million synthetic docs a day, inject failures (mass reconnects, killed servers, stalled databases, hot docs), read Datadog telemetry, and ship fixes, with a human approving only hard-to-undo changes like schema or storage layout.

## 2026-11-12

- [Announcing Rust 1.100.0](https://swe.quest/articles/announcing-rust-1-100-0-3cfd9f43e21db8ad.md): Rust Blog · 2026-11-12 · Medium · 9 min read · Rust, Type systems, Build systems, Supply chain security, Memory management
  Rust 1.100.0 stabilizes the never type \`!\` after a decade and five failed attempts, makes \`Infallible\` an alias for it, and switches never-type fallback from \`()\` to \`!\` in pre-2024 editions, a rare-case breaking change that may also surface more unreachable code.

## 2026-10-16

- [Introducing the (blazing fast!) native TCP client for .NET](https://swe.quest/articles/introducing-the-blazing-fast-native-tcp-client-for-net-f4669cab73398c15.md): ClickHouse · 2026-10-16 · Medium · 16 min read · .NET, Performance engineering, Memory management, Analytics & OLAP, Networking
  ClickHouse's new experimental .NET client in the ClickHouse.Driver package speaks the native TCP protocol and the columnar Native format.

## 2026-10-13

- [Flex Model: an event-driven feature engineering system](https://swe.quest/articles/flex-model-an-event-driven-feature-engineering-system-b101b9ddf0c5a739.md): Jane Street Tech Blog · 2026-10-13 · Medium · 13 min read · Functional programming, System design, Performance engineering, Machine learning, Memory management
  Flex Model is Jane Street's OCaml framework that turns market events into feature vectors for neural-network trading models, replacing a 17k-line monolith where adding one feature touched nineteen files.

## 2026-10-08

- [Data needs its DevOps moment](https://swe.quest/articles/data-needs-its-devops-moment-d7c45f88ee69de4f.md): Render · 2026-10-08 · Medium · 9 min read · Stream processing, Data pipelines, Observability, Debugging, Memory management
  Data pipelines should be treated like any other production service: defined as code in the producing team's repo, with portable SQL logic tested in CI, and run 24x7 against SLOs for lag, freshness and completeness.

## 2026-10-06

- [The Shift to cgroup v2 in Kubernetes: What You Need to Know](https://swe.quest/articles/the-shift-to-cgroup-v2-in-kubernetes-what-you-need-to-know-ef93aafe6f995ba1.md): Kubernetes Blog · 2026-10-06 · Medium · 11 min read · Kubernetes, Linux, Containers, Memory management
  Kubernetes has deprecated cgroup v1: from v1.35 the kubelet refuses to start on cgroup v1 nodes by default (\`failCgroupV1: true\`), kubeadm preflight errors on it, and the fallback is slated for removal in v1.38. cgroup v2 enables Memory QoS with \`memory.high\` throttling and tiered \`memory.min\`/\`memory.low\` reservations, container-wide OOM kills via \`memory.oom.group\`, safe rootless delegation, eBPF-based device control, PSI metrics, and accurate Pod-level in-place resizing.

## 2026-10-01

- [Announcing Rust 1.99.0](https://swe.quest/articles/announcing-rust-1-99-0-e5a9ff006cef8681.md): Rust Blog · 2026-10-01 · Medium · 2 min read · Rust, Memory management
  Rust 1.99.0 stabilizes defining C-ABI variadic functions in Rust using \`...\`, typed as \`VaList\` (ABI-compatible with C \`va\_list\`) with readable types gated by the \`VaArgSafe\` trait.

## 2026-09-30

- [This Month in Ladybird - September 2026](https://swe.quest/articles/this-month-in-ladybird-september-2026-2ff5927acaac0878.md): Ladybird · 2026-09-30 · Medium · 7 min read · Browsers, Sandboxing & isolation, Performance engineering, Memory management, Video & media
  Ladybird spent a week with Trail of Bits engineers, who used frontier models to find bugs and build exploit chains.

## 2026-09-15

- [Swift 6.4 Released](https://swe.quest/articles/swift-6-4-released-393cd350ed7f57b9.md): Swift.org · 2026-09-15 · Medium · 7 min read · Swift, Language design, Build systems, WebAssembly, Memory management
  Swift 6.4 makes Swift Build the default backend for SwiftPM, giving consistent builds across Linux, macOS and Windows, adds SBOM generation, and ships Subprocess 1.0 for cross-platform process execution on Swift concurrency.

## 2026-09-14

- [Kubernetes v1.37: Memory QoS Graduates to Beta](https://swe.quest/articles/kubernetes-v1-37-memory-qos-graduates-to-beta-fd0e7f486b964589.md): Kubernetes Blog · 2026-09-14 · Medium · 4 min read · Kubernetes, Linux, Memory management, Configuration management
  Memory QoS is Beta and on by default in Kubernetes v1.37, using the cgroup v2 memory controller to guide how the kernel throttles and protects container memory.

## 2026-09-02

- [Goroutine Leak Profiles](https://swe.quest/articles/goroutine-leak-profiles-28367c8af5986ce1.md): The Go Blog · 2026-09-02 · Medium · 23 min read · Go, Concurrency, Memory management, Debugging, Runtimes & VMs
  Go 1.27 adds a goroutineleak profile that finds goroutines permanently blocked on channels or sync primitives (Mutex, RWMutex, WaitGroup, Cond) in running programs, including production, with few or no false positives.

## 2026-09-01

- [Kubernetes v1.37: etcd RangeStream Cuts Memory Use on Large List Reads](https://swe.quest/articles/kubernetes-v1-37-etcd-rangestream-cuts-memory-use-on-large-list-reads-7b71582ef59abcc3.md): Kubernetes Blog · 2026-09-01 · Medium · 3 min read · Kubernetes, Memory management, Performance engineering
  Kubernetes v1.37 promotes etcd RangeStream to beta and enables it by default via the EtcdRangeStream feature gate.

## 2026-08-21

- [What else runs on your Postgres server, and how do we stop it from taking the database down?](https://swe.quest/articles/what-else-runs-on-your-postgres-server-and-how-do-we-stop-it-from-taking-the-79e9559393b71ab0.md): ClickHouse · 2026-08-21 · Medium · 4 min read · PostgreSQL, Linux, Memory management, Resilience, Multi-tenancy
  Supporting processes on a managed Postgres VM (PgBouncer, WAL-G, Prometheus, exporters, log collector, watchdogs) share memory, CPU and disk with the database, so a leak or CPU burst in any of them can take it down.

## 2026-08-20

- [Bun 1.4](https://swe.quest/articles/bun-1-4-fea28913dacb5d89.md): Bun · 2026-08-20 · Medium · 217 min read · Runtimes & VMs, JavaScript, Performance engineering, Memory management, Rust
  Bun 1.4 adds 1,517 newly passing Node.js test-suite tests, fixes over 2,900 issues, and rewrites Bun from Zig to Rust.

## 2026-07-31

- [June in Servo: real world compat, media queries, SharedWorker, and more!](https://swe.quest/articles/june-in-servo-real-world-compat-media-queries-sharedworker-and-more-1468876aa282b7ab.md): Servo · 2026-07-31 · Medium · 11 min read · Browsers, Rust, Memory management, Performance engineering
  Servo 0.4.0 bundles a record 558 June commits, adding CSS features like experimental attr(), deferred calc() resolution and many media queries (device-width, aspect-ratio, pointer, hover), plus DOM APIs including SharedWorker, CustomElementRegistry constructors and new SubtleCrypto algorithms.

## 2026-07-28

- [Why strict memory overcommit matters for Postgres](https://swe.quest/articles/why-strict-memory-overcommit-matters-for-postgres-b9d0f67bf7c921e4.md): ClickHouse · 2026-07-28 · Medium · 7 min read · PostgreSQL, Linux, Memory management, Resilience
  Under Linux's default overcommit policy, an OOM-killed Postgres backend forces the postmaster to terminate all backends and run crash recovery.

## 2026-07-20

- [GC and Exceptions in Wasmtime](https://swe.quest/articles/gc-and-exceptions-in-wasmtime-0760e599cf5cc079.md): Bytecode Alliance · 2026-07-20 · Medium · 5 min read · WebAssembly, Memory management, Runtimes & VMs, Compilers
  Wasmtime 47 enables the WebAssembly GC and exceptions proposals by default, letting objects-and-references languages use the runtime's collector instead of shipping their own, and letting exception-using languages use zero-overhead unwinding instead of custom return-flag calling conventions.

## 2026-07-14

- [How we configure huge pages in ClickHouse Managed Postgres](https://swe.quest/articles/how-we-configure-huge-pages-in-clickhouse-managed-postgres-6544ec044914bebf.md): ClickHouse · 2026-07-14 · Medium · 5 min read · PostgreSQL, Linux, Performance engineering, Memory management, Configuration management
  ClickHouse Managed Postgres runs every server's shared\_buffers on 2MB huge pages, which avoids per-backend page-table bloat and improves TLB reach.

## 2026-06-25

- [Why we rewrote WAL-G for Postgres backups in Rust: Meet WAL-RUS](https://swe.quest/articles/why-we-rewrote-wal-g-for-postgres-backups-in-rust-meet-wal-rus-a99cc2a7ede61ae3.md): ClickHouse · 2026-06-25 · Medium · 4 min read · PostgreSQL, Rust, Memory management, Storage systems, Go
  WAL-RUS is an open-source Rust rewrite of WAL-G's Postgres backup and WAL archival tooling, built because Go's garbage-collected runtime made virtual memory hard to predict in resource-constrained managed Postgres environments where overcommit is disabled.

## 2026-04-24

- [What's New in pg\_clickhouse - JSONB Support, SQL value functions, Streaming, and more](https://swe.quest/articles/what-s-new-in-pg-clickhouse-jsonb-support-sql-value-functions-streaming-and-more-ecb202cf6ff32298.md): ClickHouse · 2026-04-24 · Medium · 10 min read · PostgreSQL, Analytics & OLAP, Query engines, Memory management
  pg\_clickhouse, the Postgres foreign data wrapper for querying ClickHouse, now pushes down far more operations to ClickHouse.

## 2026-04-20

- [Bun v1.3.13](https://swe.quest/articles/bun-v1-3-13-2e18ca35d20de73c.md): Bun · 2026-04-20 · Medium · 17 min read · JavaScript, Runtimes & VMs, Testing, Performance engineering, Memory management
  Bun v1.3.13 adds per-file test isolation (--isolate), parallel test workers with work stealing (--parallel), CI sharding (--shard=M/N), and git-aware test selection (--changed) built on the import graph. bun install now streams tarballs to disk while downloading, cutting memory 17x in a large repo, and the isolated linker drops a peer-heavy monorepo install from 20.5s to 2.4s.

## 2025-08-26

- [Kubernetes Informers are so easy... to misuse!](https://swe.quest/articles/kubernetes-informers-are-so-easy-to-misuse-a7aef41b2bdd46d8.md): Render · 2025-08-26 · Medium · 7 min read · Kubernetes, Go, Resilience, Memory management
  Kubernetes Informers report the eventual current state of an object, not every intermediate transition, so controllers must use level-driven logic rather than comparing oldObj and newObj in UpdateFunc.

## 2025-07-17

- [How we tracked down a Go 1.24 memory regression across hundreds of pods](https://swe.quest/articles/how-we-tracked-down-a-go-1-24-memory-regression-across-hundreds-of-pods-bbf00972d141a71d.md): Datadog Engineering · 2025-07-17 · Medium · 9 min read · Go, Memory management, Debugging, Performance engineering, Runtimes & VMs
  Upgrading a data-processing service to Go 1.24 raised container memory by about 20% even though Go runtime metrics and heap profiles stayed flat.
- [How Go 1.24’s Swiss Tables saved us hundreds of gigabytes](https://swe.quest/articles/how-go-1-24-s-swiss-tables-saved-us-hundreds-of-gigabytes-4fbf9a0f30e1e4c9.md): Datadog Engineering · 2025-07-17 · Medium · 17 min read · Go, Data structures, Memory management, Runtimes & VMs, Performance engineering
  Go 1.24's new map implementation, based on Swiss Tables and extendible hashing, cut roughly 500 MiB of live heap (about 1 GiB of RSS with GOGC=100) from a 3.5-million-entry routing cache map, enough to more than offset a separate Go 1.24 mallocgc memory regression.

[Next page](https://swe.quest/tags/memory-management.md?difficulty=medium&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=medium&tag=memory-management](https://swe.quest/feed.xml?difficulty=medium&tag=memory-management). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
