[zeromq-dev] System.OutOfMemoryException issue

Cédric CONTE cedric.conte at snef.fr
Thu Feb 26 12:03:46 CET 2015

Brilliant. the v3.3.0.12-beta version solve the memory issue.


Thanks a lot


De : zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-bounces at lists.zeromq.org] De la part de Doron Somech
Envoyé : jeudi 26 février 2015 09:45
À : ZeroMQ development list
Objet : Re: [zeromq-dev] System.OutOfMemoryException issue


V3.3.0.11 suffer from memory overflow issue, try to use the v3.3.0.12-beta version or compile from master.




On Thu, Feb 26, 2015 at 10:28 AM, Cédric CONTE <cedric.conte at snef.fr> wrote:

Hi folks,


Context : NetMQ – DotNet 4.5


I’m currently working on computer vision which must process each frame from a video file. 

To do so, I use the push-pull pattern in order to produce some distributed work ( <http://zguide.zeromq.org/page:all#Divide-and-Conquer> divide and conquer). 

I was inspired by this link:  <http://netmq.readthedocs.org/en/latest/push-pull/> http://netmq.readthedocs.org/en/latest/push-pull/

Here’s what happens: 
The ventilator instance starts distributes the work to n workers instances by passing message with byte array of 2000000 which increase the RAM quickly. The workers to their job by getting the message from the queue and do the image process but the RAM never decrease. After a while, I get the following error from a worker on the received message:  <http://stackoverflow.com/questions/26947771/an-unhandled-exception-of-type-system-outofmemoryexception-occurred-in-system> An unhandled exception of type 'System.OutOfMemoryException' occurred in NetMQ.dll 
I seems the NetMQ library never release the memory (the byte array of 2000000 ) from the queue when the worker received the message.
Does someone already faced this issue or find a work around about it?
Thx in advance for your help,


zeromq-dev mailing list
zeromq-dev at lists.zeromq.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150226/94e61948/attachment.htm>

More information about the zeromq-dev mailing list