IsDisposed Property | Table of Content | Decoder Methods |
Decoder.MaximumNumberOfRepeatingGroupEntries Property |
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