[zeromq-dev] memory preallocation for realtime use cases

Uli Köhler ulikoehler.dev at googlemail.com
Sun May 19 22:33:19 CEST 2013


Hi Michel,​

What transport method are you using? If you're not using inproc, I suppose
the IO threads will allocate memory on their own - besides that, the
lockfree pipes (see ypipe.c) will probably also allocate some memory.
Please check the source code to be absolutely sure, if these factors matter
in your use case.

Maybe the REUSE flag can partially solve your problem, as far as I
understand it, it prevents the message (zmq_msg_t) itself from being free'd
once sent.

Best regards,
Uli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130519/8a267ba5/attachment.htm>


More information about the zeromq-dev mailing list