You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2014/08/14 18:56:12 UTC
[jira] [Resolved] (AMQCPP-549) Potential memory leak in consumer
when delivering delayed ack.
[ https://issues.apache.org/jira/browse/AMQCPP-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQCPP-549.
---------------------------------
Resolution: Fixed
Ensure that returned future pointer gets deleted. Fixed on trunk and 3.8.x
> Potential memory leak in consumer when delivering delayed ack.
> --------------------------------------------------------------
>
> Key: AMQCPP-549
> URL: https://issues.apache.org/jira/browse/AMQCPP-549
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 3.8.1, 3.8.2, 3.8.3
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 3.8.4, 3.9.0
>
>
> Leak reported on User list:
> {quote}
> ==7369== 2,604 (48 direct, 2,556 indirect) bytes in 1 blocks are definitely
> lost in loss record 1,819 of 2,022
> ==7369== at 0x4A084CC: operator new(unsigned long)
> (vg_replace_malloc.c:298)
> ==7369== by 0xF9CD8A1: decaf::util::concurrent::Future<bool>*
> decaf::util::concurrent::ExecutorService::submit<bool>(decaf::lang::Runnable*,
> bool const&, bool) (FutureTask.h:408)
> ==7369== by 0xF9B9CBB:
> activemq::core::kernels::ActiveMQConsumerKernel::deliverAcks()
> (ActiveMQConsumerKernel.cpp:1257)
> ==7369== by 0xF9BAB04:
> activemq::core::kernels::ActiveMQConsumerKernel::dispose()
> (ActiveMQConsumerKernel.cpp:845)
> ==7369== by 0xF9EFC53:
> activemq::core::kernels::ActiveMQSessionKernel::dispose()
> (ActiveMQSessionKernel.cpp:379)
> ==7369== by 0xF9F09A8:
> activemq::core::kernels::ActiveMQSessionKernel::doClose()
> (ActiveMQSessionKernel.cpp:306)
> ==7369== by 0xF9F103F:
> activemq::core::kernels::ActiveMQSessionKernel::close()
> (ActiveMQSessionKernel.cpp:296)
> ==7369== by 0xF962466: activemq::core::ActiveMQSession::close()
> (ActiveMQSession.cpp:62)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.2#6252)