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 and ReuseEventArguments. Please see the "Reusing FIX message instance for incoming messages" section.
- FlatGroupReader - provides memory allocation-free access to repeating groups. Please see the Flat Group Reader.
- Using GC-free interface.