forwardIsDisposed Property    Table of ContentDecoder Methodsforward
Decoder.MaximumNumberOfRepeatingGroupEntries Property
Maximum number of entries in the repeating group, which generated by FAST decoder.

This parameter is used during decoding and is useful to detect broken data, which, in particular cases, can need to allocate unexpectedly huge number of entries (for instance - billions of entries, while normally there are just a few ones). This situation results in memory exhausting and (often) significantly decrease overall system performance.

To prevent memory exhausting and negative consequences of that, this property should be configured to the value, which is greater then maximum possible number of entries in valid input data, but less then int.MaxValue (default one).

In a lot of real cases value of 10000 is good enough to detect broken data without memory overloading.

Namespace:  FIXForge.NET.FIX.FAST
Assembly:  FIXForge.NET.FIX.Engine-net-4.8_x64 (in FIXForge.NET.FIX.Engine-net-4.8_x64.dll) Version: 4.10.1.0
Syntax
C#
public int MaximumNumberOfRepeatingGroupEntries { get; set; }

Property Value

Type: Int32
See Also