[zeromq-dev] System.OutOfMemoryException issue

Doron Somech somdoron at gmail.com
Thu Feb 26 09:44:57 CET 2015


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 3.3.0.11 – 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 (divide and conquer
> <http://zguide.zeromq.org/page:all#Divide-and-Conquer>).
>
> I was inspired by this link:
> 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: *An unhandled exception of type 'System.OutOfMemoryException' occurred in NetMQ.dll  <http://stackoverflow.com/questions/26947771/an-unhandled-exception-of-type-system-outofmemoryexception-occurred-in-system>*
>
> 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,
>
>
>
> Cedric
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150226/85a15977/attachment.htm>


More information about the zeromq-dev mailing list