Search code examples
quickfixj

why is quickfixj slowing down


i have an initiator app that sends orders to an acceptor app over fix protocol.

initiator app receives orders from a rabbit message queue and sends them over fix.

each new order triggers a replace , each replace triggers a cancel.

I am observing increasing delay ( 5+ minutes ) between time shown in quickfix log and and time execution report triggers onMessage method. eg. an execution report is logged at 16:10 in quickfix log and onMessage method is triggered at 16:15.

any idea is appreciated.


Solution

  • changing gc frequency by adding -Xms2048m -Xmx4096m seems to work. may be a good idea to document sample production values for the vm for different loads.