I had a patch which switched between shaders when films load and noticed the memory growing over time. It turns out that sending the 'open' message to fragment_program causes a memory leak. The leak is in both the Pd process and the Tk one too. I have not had the time to hunt it down yet.