---
title: "Memory management"
description: "Allocation, garbage collection, ownership, memory leaks"
url: "https://swe.quest/tags/memory-management"
---

# Memory management

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 101, page 1 of 5, 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-11-10

- [Go Turns 17](https://swe.quest/articles/go-turns-17-44df44064c6960cc.md): The Go Blog · 2026-11-10 · Easy · 12 min read · Go, Performance engineering, Developer tools, Cryptography, Memory management
  Go's 17th anniversary recap covers Go 1.26 and 1.27. On the language side, it adds generic methods, self-referential constraints, \`new\` with an initial value, and nested struct literal keys.

## 2026-11-07

- [Progress Report: Linux 7.3](https://swe.quest/articles/progress-report-linux-7-3-128fc5535e6dbd29.md): Asahi Linux · 2026-11-07 · Hard · 14 min read · Linux, Hardware, Virtualization, Memory management, Games
  Asahi Linux's 7.3-cycle report covers upstream submission of the macaudio and AVD (~13,000 lines) drivers, initial M4 Pro/Max and M5 Devicetrees, and M3 support going generally available with DCP enabling sleep and the notch area. m1n1 now runs three EL1 VMs (macOS, SPTM, and the Secure Kernel with Exclaves) to reverse engineer M5 macOS.

## 2026-11-05

- [September in Servo: \<progress\>, rounded rectangles, and more!](https://swe.quest/articles/september-in-servo-progress-rounded-rectangles-and-more-366001ae43187fe1.md): Servo · 2026-11-05 · Easy · 8 min read · Browsers, Rust, Performance engineering, Memory management
  Servo 0.7.0 bundles 527 commits from September, adding web platform features such as the \<progress\> element, :checked, user-select, CSS typed arithmetic, alpha(), font-width, Canvas roundRect() and an MLKEM768-X25519 WebCrypto algorithm, plus many new DOM APIs.

## 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

- [Memory safety for Postgres extensions in C/C++](https://swe.quest/articles/memory-safety-for-postgres-extensions-in-c-c-b6883b8eb3b1e33d.md): ClickHouse · 2026-09-30 · Hard · 4 min read · PostgreSQL, Memory safety, C & C++, Memory management
  Postgres's palloc/MemoryContext allocation and setjmp/longjmp-based error handling clash with C++ new/delete, destructors and exceptions: longjmp skips destructors (undefined behavior), exceptions bypass PG\_CATCH, and an uncaught exception aborts the process and forces cluster-wide crash recovery.
- [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.
- [Trading off compute for memory with activation checkpointing](https://swe.quest/articles/trading-off-compute-for-memory-with-activation-checkpointing-1f2b8d13685e738d.md): Jane Street Tech Blog · 2026-09-30 · Hard · 9 min read · Model training, Memory management, Compilers, Performance engineering, Python
  A whole-graph activation checkpointing planner for torch.compile takes an absolute GB memory budget and greedily drops min-cut saves with the cheapest recompute cost per byte of peak memory freed.

## 2026-09-28

- [Can your Postgres survive a bad query?](https://swe.quest/articles/can-your-postgres-survive-a-bad-query-744ea9a22b65710c.md): ClickHouse · 2026-09-28 · Hard · 13 min read · PostgreSQL, Memory management, Resilience, Query engines, Linux
  Postgres's \`work\_mem\` limits memory per plan node per process, not per query, so parallel workers and \`hash\_mem\_multiplier\` can push a simple aggregation past 8x \`work\_mem\`.

## 2026-09-16

- [Size-Specialized Memory Allocation](https://swe.quest/articles/size-specialized-memory-allocation-cb92a01eba7d925f.md): The Go Blog · 2026-09-16 · Hard · 7 min read · Memory management, Go, Runtimes & VMs, Performance engineering
  Go 1.27 adds size-specialized variants of the runtime's mallocgc for allocations of 80 bytes or fewer, one per span class (size class plus pointer/no-pointer), making these allocations 20-30% faster and allocation-heavy programs up to 1% faster.

## 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-09

- [Improving Lakebase Postgres Compute Cache on Neon, Part 1](https://swe.quest/articles/improving-lakebase-postgres-compute-cache-on-neon-part-1-96696f73ade727a0.md): Neon · 2026-09-09 · Hard · 9 min read · PostgreSQL, Caching, Performance engineering, Memory management, Virtualization
  On large fixed-size Lakebase Postgres computes, Neon now disables its NVMe-backed local file cache and sets shared buffers to 75% of DRAM (up from a 1 GB cap), backed by explicit 2 MB HugeTLB pages provisioned through host, hypervisor and guest VM.

## 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-08-10

- [Making Knowledge Distillation Cheap Enough to Run at Scale](https://swe.quest/articles/making-knowledge-distillation-cheap-enough-to-run-at-scale-f55a4297b4be9cef.md): Hugging Face · 2026-08-10 · Hard · 8 min read · Model training, LLMs, Performance engineering, Memory management
  Two systems changes make LLM knowledge distillation far cheaper: caching the teacher's top-100 logits offline so the teacher never shares memory with the student, and a fused chunked KL loss that folds the output projection into the loss and recomputes chunks in the backward pass, so the full vocabulary × sequence logits grid is never materialized.

## 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.

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

Same list as RSS: [https://swe.quest/feed.xml?tag=memory-management](https://swe.quest/feed.xml?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)
