Re: [zeromq-dev] Memory leak on SUB set with CONFLATE?

2018-06-21 Thread James Harvey
I am not a maintainer of the project so it's probably best if someone else (who properly understands) guides you further. There may be another way to trigger the cleanup but I don’t know what it is. All I am saying when you have ZMQ_CONFLATE set, the incoming message (and their associated

Re: [zeromq-dev] Memory leak on SUB set with CONFLATE?

2018-06-21 Thread Kevin Wang
I see, thanks James. I had no idea config.hpp existed. Why would the queue grow if I have conflate set? Doesn’t that mean it should only queue one value? I’m doing this because there is some data that I would like client programs to always have access to, but only the most recent one. So my

Re: [zeromq-dev] commercial support for ZeroMQ

2018-06-21 Thread Bill Torpey
Yup — thanks! I’ve already heard from Karol and Michal and we’re in touch off the list. > On Jun 21, 2018, at 7:28 AM, Doron Somech wrote: > > Look at Karol message at the list from yesterday. > > karol.hrdina AT gmail.com > > On Wed, Jun 20, 2018 at 3:35 PM, Bill

Re: [zeromq-dev] Memory leak on SUB set with CONFLATE?

2018-06-21 Thread James Harvey
Hi Kevin, I ran your test code and saw the same issue. I also created the tests with straight libzmq (not czmq) and the issue still occurs. The memory is not lost (valgrind confirms) but it does grow. Eventually I noticed its proportional to the number of times you call zmq_recv(). Adding

Re: [zeromq-dev] commercial support for ZeroMQ

2018-06-21 Thread Doron Somech
Look at Karol message at the list from yesterday. karol.hrdina AT gmail.com On Wed, Jun 20, 2018 at 3:35 PM, Bill Torpey wrote: > Some of you may recognize my email from some emails to the list, GitHub > issues and pull requests. I'm leading a project to implement a middleware > solution