I'm implementing a long (10s) circular buffer with buffer~, count~ and poke~, and displaying the recorded audio with waveform~ with a running cursor drawn by the line message. I've noticed on the Mac OS system monitor that Max memory keeps increasing while letting the buffer recording in a loop. The increase is slow but steady (approx 1 MB every 4 secs). If I remove the waveform~ object, memory stops increasing.
Here's the patch: