Re: [PD] relase plans for fixing Pd 0.48-0 bugs - netsend memory leak

2017-08-29 Thread IOhannes m zmölnig
On 08/29/2017 10:08 AM, oliver wrote:
> 
> 
> hi, two questions about this:
> 
> 1.) how does this memory leak show in a patch that has a lot of net
> traffic (i.e. sends many numbers fast to sync video to a timecode) ?

the memory leak is about leaking connections, so it is only relevant if
you do *lots* of (re)connects.
the actual transmitted data does not leak.

> 2.) would it be better to use "iemnet" objects instead ?

as the author of iemnet, i'd say "of course".
as a Pd-purist, i'd say it's *far* better to to fix the *vanilla* objects.

at least, with Pd-0.48 you can use iemnet together with
fudiparse/fudiformat to build a fully compliant wrapper for
netsend/netreceive, so you can have a temporary workaround until the
core objects are fixed.

btw, the error in netsend has been fixed in the update/0.48-0 branch,
but netreceive still leaks some memory on each reconnection...

gamrds
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] relase plans for fixing Pd 0.48-0 bugs - netsend memory leak

2017-08-29 Thread oliver

IOhannes m zmölnig wrote:


2017-08-28 12:01 GMT-03:00 Miller Puckette :


I don't plan to add any features - just fixes, hoping to get
everything stable.




there's also the attempt to fix the memory leak in
netsend/netreceive, though this is not finished yet.




hi, two questions about this:

1.) how does this memory leak show in a patch that has a lot of net 
traffic (i.e. sends many numbers fast to sync video to a timecode) ?


2.) would it be better to use "iemnet" objects instead ?


best

oliver

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list