[zeromq-dev] Potential Memory Leak in JZMQ 2.x.x running on top of ZeroMQ 3.2.3 for Multicast Publishing?
Steven McCoy
steven.mccoy at miru.hk
Tue Jun 18 15:36:27 CEST 2013
On 18 June 2013 07:43, Parag Patel <Parag.Patel at fusionts.com> wrote:
> Does the window size default to 10 seconds only for Java?****
>
>
>
The default is in options.cpp:
https://github.com/zeromq/libzmq/blob/master/src/options.cpp#L31
ZMQ_RECOVERY_IVL: Set multicast recovery interval
The *ZMQ_RECOVERY_IVL* option shall set the recovery interval for multicast
transports using the specified *socket*. The recovery interval determines
the maximum time in milliseconds that a receiver can be absent from a
multicast group before unrecoverable data loss will occur.
Exercise care when setting large recovery intervals as the data needed for
recovery will be held in memory. For example, a 1 minute recovery interval
at a data rate of 1Gbps requires a 7GB in-memory buffer.
Option value typeintOption value unit millisecondsDefault
value10000Applicable socket typesall,
when using multicast transports
The pure Java implementation does not yet interface with the pure Java PGM
implementation to do anything different.
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130618/f861d893/attachment.htm>
More information about the zeromq-dev
mailing list