[zeromq-dev] Do Sockets free memory after..

Andrew Hume andrew at research.att.com
Thu May 16 20:03:15 CEST 2013

pretty much all OSes do not shrink the user space back
after memory has been freed.
on the other hand, if its not being used, it doesn't hurt much.

the only way to really fix this issue is to use shared memory
for the buffer (external to zmq), and then release the segment.

On May 16, 2013, at 10:58 AM, Pieter Hintjens wrote:

> On Thu, May 16, 2013 at 7:41 PM, Nishant Mittal <nmittal at rblt.com> wrote:
>> bad choice of words on my part.. i didnt mean to imply zeromq is leaking
>> memory.. what I think is happening is that once the outgoing buffer grows to
>> a certain size.. it keeps that as reserve for the future (and does not free
>> it).. just wanted to confirm that this is wat is happening indeed and is by
>> design.
> libzmq does not do this, but I think the operating system may do that.
> What OS are you using?
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Andrew Hume
623-551-2845 (VO and best)
973-236-2014 (NJ)
andrew at research.att.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130516/7f4f341a/attachment.htm>

More information about the zeromq-dev mailing list