C++ client memory usage increases when acknowledging messages unless client
explicitly calls session.flush() every so often
---------------------------------------------------------------------------------------------------------------------------
Key: QPID-3321
URL: https://issues.apache.org/jira/browse/QPID-3321
Project: Qpid
Issue Type: Bug
Components: C++ Client
Reporter: Andy Goldstein
Create a C++ client that receives lots and lots of messages. Call
session.acknowledge(message) on each message. If you don't call
session.flush() 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]