[zeromq-dev] Repeated creation of ZMQ sockets lead to memory bloating?
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.
On Feb 15, 2013, at 4:55 PM, Kah-Chan Low <kahchanlow at yahoo.com> wrote:
> 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.
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev