[
https://issues.apache.org/jira/browse/QPID-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Goldstein updated QPID-3321:
---------------------------------
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. (was: 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.)
Summary: C++ client memory usage increases when acknowledging messages
unless client explicitly calls session.sync() every so often (was: C++ client
memory usage increases when acknowledging messages unless client explicitly
calls session.flush() every so often)
> C++ client memory usage increases when acknowledging messages unless client
> explicitly calls session.sync() 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
> Assignee: Gordon Sim
>
> 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.
--
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]