mirror of
https://github.com/D-Modem/courier-emu.git
synced 2026-11-28 20:38:07 -08:00
m_io_events was an unbounded std::vector that grew by one entry per DSP I/O operation — millions per second of simulated time. Over a long interactive session this alone consumed tens of gigabytes and triggered the macOS OOM killer. Switch to a std::deque with a rolling window; the per-port aggregate stats in PortStat are unaffected. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>