[zeromq-dev] pub sub memory leak problem
david starkweather
starkdg at comcast.net
Sun Aug 8 05:55:21 CEST 2010
In making the minimal test case, I minimized everything to include just
the zeromq factors, using just one main thread in the mistaken belief
that is was comeing from 0mq. At first, I mistakenly thought I had
reproduced the error, but perhaps i was looking at the wrong process
listed in the "top" program. (Not sure what happened.)
I guess that's the thing about making minimal test cases. Sometimes you
minimize in the wrong direction. But it did help focus to the cause of
the error leak. :)
On Sat, 2010-08-07 at 21:05 +0200, Pieter Hintjens wrote:
> On Sat, Aug 7, 2010 at 8:29 PM, david starkweather <starkdg at comcast.net> wrote:
>
> > As it turns out, it seems this is not a zeromq issue at all. But an
> > issue with pthreads. Sorry for the confusion. I just didnt want to leave
> > this thread hanging.
>
> Nice pun. :-)
>
> So the original code you posted worked, in fact, but you simplified it
> for us by removing the pthreads stuff?
>
> It's always worth making a minimal test case that does definitely
> reproduce a problem, and posting that.
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list