Chromium Memory Leak: A Bug Report from a Construction Robot
2025-05-09
A construction robotics company, Monumental, discovered a memory leak bug in their Chromium-based Electron application. The app uses Rust WASM code, managing memory via wasm-bindgen. The issue is that the JS engine sometimes stops calling finalizers in FinalizationRegistry, leading to runaway WASM memory growth. The author created a minimal reproduction and filed a bug report. This bug manifests as persistent memory leaks after multiple refreshes, requiring window closure to resolve.
(bou.ke)
Development
Memory Leak