My Rust program (Well, game) is leaking memory, 4MB/s.

269 points AndroGR

Title.

How do I pinpoint the issue? The only FFI library I'm using is ImGui, so I'd place my first bets there although the drop implementations do work in other "stages". At the current rate, it only takes a few minutes to jump from 21MBs to 1.6GBs of memory usage.