Reducing Garbage Collection Overhead
The garbage collector (GC) can significantly affect the performance of an application.
Each memory allocation increases the GC load; therefore, it is needed to consider this during the development, please see recommendations from the Improve garbage collection performance page.
The following option of the FIX Engine affects the GC load and can decrease the GC overhead:
- ReuseInboundMessage (Please see the "Reusing FIX message instance for incoming messages" article of the Low Latency Best Practices page for details).
- FlatGroupReader (Provides memory allocation-free access to repeating groups. Please see the Flat Group Reader page for details).
- Using GC-free interface