[PD] pd eating memory

Mathieu Bouchard matju at artengine.ca
Sat Nov 5 14:02:50 CET 2005


On Sat, 5 Nov 2005, Enrique Erne wrote:
> On Nov 5, 2005, at 12:55 PM, Mathieu Bouchard wrote:
> > On Sat, 5 Nov 2005, Enrique Erne wrote:
> > > now something I'm little bit more concerned: I've seen (activity
> > > monitor) that pd needs more and more memory. it starts about 2.7 MB and
> > > without doing anything it just increases about 20kb/second . after two
> > > hours it took about 150 MB memory and was still increasing. this happens
> > > on osx 10.3.9 using miller's pd without any patches or libs is this a
> > > bug ? do you have the same behavior ?
> > Which half of PureData is causing the problem? Is it "pd" all lowercase
> > (server) or "Pd" capitalized (client) ?
> it's the lowercase "pd" , which is going up and up. now it's over 317 MB .
> wonder what happen when it reaches the limit.

When it reaches the limit it surely just crashes. Depending on what your 
limit is, it'll swap a lot before reaching the limit.

I can't test it myself because I don't have a mac.

I would suggest running Valgrind but it's a Linux-only program. What would
be a good equivalent to that on OSX? There's a neat program called "Shark"  
on the Developer Tools CD, but I don't recall whether it can detect memory 
leaks.

Which version of Miller's pd exactly??

____________________________________________________________________
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
Freelance Digital Arts Engineer, Montréal QC Canada




More information about the Pd-list mailing list