Hi Andy, The throughput program (perf/remote_thr.cpp) uses a PUSH socket with default high-water mark, meaning they'll queue 1,000 messages before blocking on send. If you ask for 8MB messages, that's 8GB of memory it will try to allocate. If you want to use larger messages, you can make your version of this program and set the high-water mark to something lower (100). If there was no HWM, it would try to create and queue 10,000 messages (80GB).
Hope this helps Pieter On Jul 2, 2013 9:47 AM, "Andy Gotz" <[email protected]> wrote: > > Hi, > > I am trying to run the Remote_thr.exe application in the perf > sub-directory of the distribution on Windows 7 with large messages. > > When I run remote_thr.exe with >2MB messages I get a "Not enough space" > error: > > > $ ./Remote_thr.exe tcp://w.x.y.z:9000 8000000 10000 > error in zmq_msg_init_size: Not enough space > > The PC is running Windows 7 32 bit version and has 4 GB of memory. Does > anyone know how can I make this work? According to the Microsoft > documentation I should be able to address at least 2 GB of memory with > Windows 32 bit. > > I would like to send large messages of many MB's as efficiently as > possible over a 10 GBps link. > > Thanks in advance > > Andy > > _______________________________________________ > 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
