Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-788

StackOverflowError still an issue when processing larger queues

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.6.0
    • Component/s: Engine
    • Labels:
      None

      Description

      Hi,

      QuickFIX/J fails regularly with the StackOverfloError when processing large queues (around 1000 messages or more - depending on Java stack size).

      A typical scenario:

      • Client sends a ResendRequest to server
      • Server is slow in delivering old messages, but keeps sending real-time messages quickly
      • The queue builds up quickly
      • After the last old message is resent by server the client starts processing the queue using recursion and it fails with the StackOverflowError.

      This is reproducible with trunk revision #1187. Test code attached.

      Regards,
      Andrzej Hajderek

        Attachments

          Activity

            People

            • Assignee:
              chrjohn Christoph John
              Reporter:
              andrzej_ls Andrzej Hajderek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: