Re: [zeromq-dev] question about message buffer

2013-03-10 Thread Pieter Hintjens
On Mon, Mar 11, 2013 at 12:39 AM, Mohit Jaggi wrote: > I understand, but the caller does not control if the message is stored in > VSM or on heap(since choice is made inside zmq code). So zmq has to somehow > copy the VSM before the message variable goes out of scope. Just want to > confirm that

Re: [zeromq-dev] Pub/Sub - Occasional loss of messages

2013-03-10 Thread Yu Dongmin
Hi, HWM 1000 might not be big enough in some PUB/SUB patterns. Please increase the value or unlimited (-1). Or please update your test case somewhere as other can reproduce it. Thanks Min On Mar 9, 2013, at 9:00 PM, Erwin Karbasi wrote: > Hello All, > > We are using Pub/Sub paradigm in 0MQ

Re: [zeromq-dev] question about message buffer

2013-03-10 Thread Mohit Jaggi
I understand, but the caller does not control if the message is stored in VSM or on heap(since choice is made inside zmq code). So zmq has to somehow copy the VSM before the message variable goes out of scope. Just want to confirm that zmq does that. Or is it not OK to use zmq_msg_t on stack and it