[PD] [Bug]Dynamic Patching causes memory leak

Miller Puckette msp at ucsd.edu
Wed Mar 23 02:58:08 CET 2016


So far it's only in source:

git clone git://git.code.sf.net/p/pure-data/pure-data

I'll be putting up compiled "test" versions in a week or so (once I've got
some more stuff done :)

Miller

On Wed, Mar 23, 2016 at 10:37:47AM +0900, Zack Lee wrote:
> Thank you Miller,
> 
> I'm sorry but can I ask you where to download the fixed version of Pd so I
> can check if it's fixed?
> Thank you in advance!
> 
> Zack
> 
> 
> 2016-03-22 8:28 GMT+09:00 Miller Puckette <msp at ucsd.edu>:
> 
> > OK... might be fixed now - thanks for flagging it.
> >
> > Miller
> >
> > On Thu, Dec 31, 2015 at 06:35:51AM +0100, Zack Lee wrote:
> > > 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
> >
> >
> > > _______________________________________________
> > > Pd-list at lists.iem.at mailing list
> > > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> >
> >



More information about the Pd-list mailing list