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 <[email protected]> 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
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to