Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3321

C++ client memory usage increases when acknowledging messages unless client explicitly calls session.sync() every so often

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • C++ Client
    • None

    Description

      Create a C++ client that receives lots and lots of messages. Call session.acknowledge(message) on each message. If you don't call session.sync() periodically, the client application's memory usage will increase over time. Most of the memory allocated appears to be coming from qpid::client::amqp0_10::AcceptTracker::accept(qpid::framing::SequenceNumber id, qpid::client::AsyncSession& session). It looks like the broker doesn't send completions for the message acknowledgements, or if it does, not very frequently.

      Attachments

        Activity

          People

            gsim Gordon Sim
            ncdc Andy Goldstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: