You can lower the max sockets per context, before creating your first context. See zmq_ctx_set ().
On Fri, Jun 20, 2014 at 12:39 AM, Philip Dizon <[email protected]> wrote: > Hi, > > I noticed that just creating a new zmq context and socket bumps my memory > usage by 18MB, and this is a big problem on my embedded system which only > contains about 100MB. I determined this by using top command and comparing > the difference in mem usage. > Is there any sort of option I can use to lower the memory usage? > > 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
