On Wed, Jul 27, 2011 at 12:03 PM, Tonis Xie <[email protected]> wrote:

> I changed the "sleep(1)" in durapub2.c to "usleep(10)", make the loop run
> infinitely, start durapub2 and durasub, ctrl-c durasub, and I am seeing that
> the allocated memory of durapub2 keep raising just like never hitting a
> limit at all! However, I set the HWM to only 5.
>

Just to check with the changes, is the call to setsockopt with the HWM made
before the bind() call, or after?

Ian
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to