Tagged articles

compilation cache

2 articles · Page 1 of 1
TonyBai
TonyBai
Jun 30, 2026 · Backend Development

Why a Rust Project Can Swallow 75 GB of Disk Space and How to Tame Cache Bloat in Rust and Go

The article explains why modern Rust and Go compilers create massive on‑disk caches—Rust's per‑project target directory and Go's global module and build caches—illustrates the underlying mechanisms with concrete examples, and offers practical commands and tooling to clean or share those caches, reducing disk consumption.

Disk UsageGoRust
0 likes · 14 min read
Why a Rust Project Can Swallow 75 GB of Disk Space and How to Tame Cache Bloat in Rust and Go
Node Underground
Node Underground
Sep 11, 2021 · Backend Development

Why Node.js vm Triggers OOM in V8: Hidden Compilation Cache Pitfalls

This article explains how frequent use of Node.js's vm module can cause out‑of‑memory crashes in V8 due to an uncollected compilation cache, the role of the --always‑promote‑young‑mc flag, and practical work‑arounds for Node.js 12, 14 and 16.

Garbage CollectionNode.jsOOM
0 likes · 16 min read
Why Node.js vm Triggers OOM in V8: Hidden Compilation Cache Pitfalls