[zeromq-dev] OUT OF MEMORY on Win using inproc transport

Chuck Remes cremes.devlist at mac.com
Thu Jan 19 16:12:57 CET 2012


On Jan 18, 2012, at 9:03 PM, Serg V. Gulko wrote:

> Hello! 
> 
> Thanks for response, Dimiter. 
> Thing is that same code also works for me perfectly. But once I add at least one operation under data in consumer thread - boom, OUT OF MEMORY.
> I was expecting that HWM should help but I guess I still settings something wrong.

Try setting a HWM on the SUB socket too. Perhaps the extra work you are doing (a completely superfluous malloc/memcpy/free) is delaying the SUB socket long enough that *its own queue* is blowing out.

Let us know how it goes.

cr




More information about the zeromq-dev mailing list