[PD] mp3write~ memoryleak

Olaf Matthes olaf.matthes at gmx.de
Mon Mar 17 16:25:58 CET 2003


Hi Joreg,

mp3write~ dows not close the file once you've stopped recording. So you have to
quit Pd or load/open another file before you can do anything else with the file
you just recorded...

Olaf

Joreg Diessl schrieb:

> halo.
>
> it took me a long time to find out why my pc freezes after about 30
> minutes of operation. but now i think i found something.
>
> i am using [mp3write~] to generate an mp3 file that is then taken by
> an other program and moved to a different folder (i can't do that
> within pd, right?). now i noticed that my system is continuously
> loosing memory while this patch is running. when there is no more
> physical memory available (which i am observing with taskmanager) the
> system freezes. closing pd priort to a freeze releases all the memory again.
>
> the attached patch is a simplified version of the patch i am using.
> after stopping the mp3write~ i seem to have to open a dummy.mp3 file to
> release the other file to make it possible for another application to copy
> it. for my purpose i would use mode "truncate" of [mp3write~] then, but
> using modes "truncate" or "append" doesn't seem to make a difference.
>
> using [writesf~] instead of [mp3write~] works. but i need .mp3 files.
> this happens running pd 0.36-0 on w2k and wxp using mp3write~ version 0.1
>
> help meee youu.
> joreg.
>
> --cut here-------------------
> current: http://vvvv.meso.net
> allstar: http://joreg.ath.cx
>
>   ------------------------------------------------------------------------
>                   Name: mp3write.pd
>    mp3write.pd    Type: Ohne Angabe (application/octet-stream)
>               Encoding: base64





More information about the Pd-list mailing list