You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andy Goldstein (JIRA)" <ji...@apache.org> on 2011/06/24 13:59:48 UTC
[jira] [Created] (QPID-3321) 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.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:dev-subscribe@qpid.apache.org
[jira] [Resolved] (QPID-3321) C++ client memory usage increases
when acknowledging messages unless client explicitly calls session.sync()
every so often
Posted by "Gordon Sim (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim resolved QPID-3321.
------------------------------
Resolution: Fixed
Fix Version/s: 0.11
> 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
> Fix For: 0.11
>
>
> 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:dev-subscribe@qpid.apache.org
[jira] [Assigned] (QPID-3321) C++ client memory usage increases
when acknowledging messages unless client explicitly calls session.flush()
every so often
Posted by "Gordon Sim (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim reassigned QPID-3321:
--------------------------------
Assignee: Gordon Sim
> 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
> 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.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:dev-subscribe@qpid.apache.org
[jira] [Updated] (QPID-3321) C++ client memory usage increases when
acknowledging messages unless client explicitly calls session.sync() every
so often
Posted by "Andy Goldstein (JIRA)" <ji...@apache.org>.
[ 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:dev-subscribe@qpid.apache.org