[PD] memory leak in pd gui?
John Harrison
john.harrison at wichita.edu
Mon Apr 30 14:13:30 CEST 2007
Here's an example patch that showed pd-gui using 80% of the memory after
about 7 hours. The patch simply writes numbers to the Pd console. I'm
now wondering if the problem is not a memory leak but that the console
display buffer has no size limitation, it appears.
This is a x686 CPU, pd-vanilla.
-John
Hans-Christoph Steiner wrote:
>
> Do you have an example patch that causes this? Which CPU type?
> pd-vanilla or pd-extended?
>
> .hc
>
> On Apr 28, 2007, at 3:53 PM, John Harrison wrote:
>
>> I am running Pd 0.39-2 on ubuntu Dapper. It seems as though if I leave
>> Pd running for more than several days, the entire computer freezes or
>> becomes sluggish to the point of being unusable. I can hear the disk
>> thrashing like crazy.
>>
>> By setting up a cron job writing ps -auxw to a new time-stamped file in
>> a directory every 5 minutes, I can clearly see by looking at these files
>> that the problem is that Pd slowly but surely eats all the memory
>> resources of the machine. If I run the same patch with the nogui option,
>> the problem disappears. The thing is, I need to run this patch
>> indefinitely *and* I need the gui.
>>
>> Am I seeing a memory leak in the gui and is this a known problem?
>>
>> -John
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>
>
>
> ----------------------------------------------------------------------------
>
>
> All information should be free. - the hacker ethic
>
>
>
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: memory leak test.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070430/2da1f2f2/attachment.txt>
More information about the Pd-list
mailing list