[zeromq-dev] Repeated creation of ZMQ sockets lead to memory bloating?
Charles Remes
lists at chuckremes.com
Sat Feb 16 00:12:52 CET 2013
This has to do with memory fragmentation.
See here: http://stackoverflow.com/questions/447899/why-does-my-c-program-not-free-memory-as-it-should
Also, search the mailing list archives for a discussion on this topic a year or two ago.
cr
On Feb 15, 2013, at 4:55 PM, Kah-Chan Low <kahchanlow at yahoo.com> wrote:
> Hi!
> In my experimental run I repeatedly create and destroy ZMQ sockets. I simply let the zmq::socket_t destructor take care of the deallocation. I assume that ZMQ knows how to clean up the connections the destructed sockets have previously established.
> As time goes on I notice that the virtual memory of my process keeps going up. I am wondering if ZMQ has anything to do with the memory bloating.
> Thanks!!
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130215/0209b582/attachment.htm>
More information about the zeromq-dev
mailing list