[PD] [Bug]Dynamic Patching causes memory leak

Zack Lee cuinjune at gmail.com
Thu Dec 31 06:35:51 CET 2015


Hi, I found out that dynamic patching causes memory leak or overloading the
CPU usage.

Which means, if you create and delete an object many times by dynamic
patching, at some point, the CPU usage will be overloaded and you will hear
the glitch in audio.

I tried to find a way to fix this issue, but so far the only solution seem
to be to close and re-open the patch.

I have tested this with both pd-0.46-7 and pd-extended 0.43.4 on Mac OS X
10.10.3.

I attached the test patch below so please check and see the problem I
mentioned.
The file name should be "test.pd", so please change the file name if it
changes to a different name once you download it.

-Zack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151231/3783df15/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pd
Type: application/octet-stream
Size: 1690 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151231/3783df15/attachment.obj>


More information about the Pd-list mailing list