On 09/06/2013 03:54 AM, sunny_xu wrote:
I encountered the memory leak problem just like:
https://issues.apache.org/jira/browse/AMQCPP-220
The example consumer in
activemq-cpp-library-3.7.1/src/examples/consumers/SimpleAsyncConsumer.cpp
can be used as a test bed, it exhibits the behavior.
This time, the memory leak is worse than 2.2.3.
I used simple_producer to send 2,000,000 messages, its send-rate and memory
usage is constant.
Then I started the simple_async_consumer, at first, it read messages
rapidly, after reading thousands of messages, the receiving rate dropped a
lot, and its memory usage got bigger and bigger.
How can I do with it?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Memory-leak-in-activemq-cpp-activemq-cpp-library-3-7-1-tp4671248.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Debug it / Analyze it / Patch it.
--
Tim Bish
Sr Software Engineer | RedHat Inc.
[email protected] | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/