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

# 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–48 of 101, 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-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.

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

- [Turso v0.7.0](https://swe.quest/articles/turso-v0-7-0-8d3ff93b34352c14.md): Turso · 2026-07-13 · Hard · 10 min read · SQLite, Storage engines, Consistency models, Memory management, Rust
  Turso 0.7 drops the beta label and focuses on performance and robustness for embedded, multi-tenant use: the core no longer blocks on I/O, yields CPU via a new StepResult::Yield, moves to fallible allocation so OOM surfaces as an error, and treats the page cache as a soft limit like SQLite.

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

- [Using OxCaml to implement type-safe reference counting between OCaml and Python](https://swe.quest/articles/using-oxcaml-to-implement-type-safe-reference-counting-between-ocaml-and-python-6289aa53698f2fb6.md): Jane Street Tech Blog · 2026-06-15 · Hard · 12 min read · Functional programming, Memory management, Type systems, Python
  Wrapping Python objects as OCaml values in PyOCaml ties each object's release to the OCaml GC finalizer, so large data frames or GPU buffers can stay alive long after Python code drops them.

## 2026-05-31

- [This Month in Ladybird - May 2026](https://swe.quest/articles/this-month-in-ladybird-may-2026-432e99955958f19d.md): Ladybird · 2026-05-31 · Easy · 8 min read · Browsers, Runtimes & VMs, Rust, WebAssembly, Memory management
  Ladybird merged 464 pull requests in May 2026. It now passes Cloudflare Turnstile, and scrolling runs asynchronously on an out-of-process compositor with crash recovery.

## 2026-05-01

- [Cycles Texture Cache](https://swe.quest/articles/cycles-texture-cache-778aa21fc39107df.md): Blender Developers Blog · 2026-05-01 · Hard · 5 min read · Computer vision, Memory management, Caching, Performance engineering
  Blender 5.2 LTS adds a Cycles texture cache that loads only the image tiles and mipmap resolutions a render actually needs, cutting memory use in texture-heavy scenes.

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

- [Index sharding in ClickHouse Cloud: Petabyte-scale data needs petabyte-scale indexing](https://swe.quest/articles/index-sharding-in-clickhouse-cloud-petabyte-scale-data-needs-petabyte-scale-162dcf2c4093c588.md): ClickHouse · 2026-04-21 · Hard · 16 min read · Query engines, Analytics & OLAP, Distributed databases, Memory management, Performance engineering
  Index sharding in ClickHouse Cloud splits primary and secondary index analysis across replicas using consistent hashing over data parts.

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

## 2026-03-31

- [Introducing the JetStream 3 Benchmark Suite](https://swe.quest/articles/introducing-the-jetstream-3-benchmark-suite-df1c85fb12e2a75d.md): WebKit · 2026-03-31 · Hard · 21 min read · Runtimes & VMs, WebAssembly, Compilers, Memory management, Performance engineering
  JetStream 3 replaces JetStream 2's separate Wasm Startup/Runtime scores with the JavaScript-style first-iteration, worst-case and average-case scoring.

## 2025-12-18

- [Taming PostgreSQL GUC “extra” Data](https://swe.quest/articles/taming-postgresql-guc-extra-data-7e376007c1715e0d.md): ClickHouse · 2025-12-18 · Hard · 8 min read · PostgreSQL, C & C++, Memory management, Configuration management
  PostgreSQL GUC check and assign hooks can pre-parse a custom string setting into a structured value, but only if the "extra" data follows the GUC API's memory rules.

## 2025-12-16

- [Parallelizing ClickHouse aggregation merge for fixed hash map](https://swe.quest/articles/parallelizing-clickhouse-aggregation-merge-for-fixed-hash-map-9fc83cd0ed214dc7.md): ClickHouse · 2025-12-16 · Hard · 6 min read · Query engines, Performance engineering, Concurrency, Memory management, C & C++
  ClickHouse 25.11 parallelizes the merge phase for GROUP BY on 8- and 16-bit keys, which use an array-backed FixedHashMap.

## 2025-11-19

- [chDB Kernel Upgrade Journey: Upgrading ClickHouse to v25.8.2.29](https://swe.quest/articles/chdb-kernel-upgrade-journey-upgrading-clickhouse-to-v25-8-2-29-3cca5f2ad115d794.md): ClickHouse · 2025-11-19 · Hard · 16 min read · Memory management, C & C++, Python, Analytics & OLAP, Performance engineering
  Upgrading chDB's embedded ClickHouse kernel from v25.5 to v25.8.2.29 surfaced allocator conflicts rooted in chDB's dual-library design: a stable-ABI \`\_chdb.abi3.so\` holding the ~120MB engine plus small per-Python-version pybind11 binding libraries.

## 2025-09-17

- [Optimizing ClickHouse for Intel's ultra-high core count processors](https://swe.quest/articles/optimizing-clickhouse-for-intel-s-ultra-high-core-count-processors-93479313e687f95e.md): ClickHouse · 2025-09-17 · Hard · 22 min read · Performance engineering, Concurrency, Memory management, Analytics & OLAP, Hardware
  Intel engineers profiled all 43 ClickBench queries on 160–480 vCPU Xeon systems and landed a series of ClickHouse optimizations targeting lock contention, memory management and other scaling bottlenecks.

## 2025-08-27

- [What the interns have wrought, 2025 edition](https://swe.quest/articles/what-the-interns-have-wrought-2025-edition-eda7f47e78fb3ca5.md): Jane Street Tech Blog · 2025-08-27 · Hard · 12 min read · Functional programming, Memory management, Query engines, Type systems, Performance engineering
  Jane Street's 2025 intern projects include an index-aware evaluator for JSQL, the company's internal SQL dialect, which over-approximates key ranges from WHERE clauses and specializes execution to Map, Hashtbl or multi-index containers, giving ~700x and ~30x speedups on 3.8M-row benchmarks.

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

## 2025-07-08

- [Scaling recommendations service at OLX](https://swe.quest/articles/scaling-recommendations-service-at-olx-d55314cae80c839b.md): OLX Tech · 2025-07-08 · Medium · 10 min read · Python, Performance engineering, Concurrency, Memory management, Recommendations & ranking
  OLX scaled a Python FastAPI recommendations service to tens of thousands of requests per second with p99 latency under 10ms by systematically removing event-loop stalls.

## 2025-06-18

- [Supporting faster file load times with memory optimizations in Rust](https://swe.quest/articles/supporting-faster-file-load-times-with-memory-optimizations-in-rust-9b748f81216508a0.md): Figma · 2025-06-18 · Medium · 6 min read · Rust, Memory management, Performance engineering, Data structures, Real-time systems
  Figma's Rust multiplayer server represented each file node as a BTreeMap from u16 property IDs to pointers, and memory profiling showed this map used over 60% of a file's memory.

## 2025-05-29

- [We rewrote large parts of our API in Go using AI: we are now ready to handle one billion databases](https://swe.quest/articles/we-rewrote-large-parts-of-our-api-in-go-using-ai-we-are-now-ready-to-handle-one-dae54753b5d31582.md): Turso · 2025-05-29 · Medium · 7 min read · Go, Scaling, Memory management, SQLite, Caching
  Turso's Go API proxy, which maps database URLs to physical servers, ran out of memory as customers created millions of databases programmatically.

## 2025-04-02

- [Debugging JavaScript Memory Leaks](https://swe.quest/articles/debugging-javascript-memory-leaks-440c20d303c4be9c.md): Bun · 2025-04-02 · Medium · 8 min read · Memory management, Debugging, JavaScript, Runtimes & VMs
  Bun implements V8's writeHeapSnapshot API, so heap snapshots can be loaded and diffed in Chrome DevTools, where a steadily growing Delta column reveals leaks. bun:jsc's heapStats also reports per-type object counts, including objects protected from GC.

[Next page](https://swe.quest/tags/memory-management.md?per=48&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)
