[zeromq-dev] OUT OF MEMORY on Win using inproc transport
Chuck Remes
cremes.devlist at mac.com
Wed Jan 18 21:46:52 CET 2012
On Jan 18, 2012, at 2:32 PM, Serg Gulko wrote:
> Yes, in this example I using constant size message(22 bytes) - I want keep only one 22 bytes message.
> Or I wrong?
You are wrong. For HWM, you pass the *number of messages*. What your code does is pass the *number of bytes*. That is incorrect.
Change it to set the HWM to 1. There are lots of C code examples in the guide. Refer to one of those examples for the exact syntax.
cr
More information about the zeromq-dev
mailing list