You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Darryl L. Pierce (JIRA)" <ji...@apache.org> on 2014/10/10 17:12:48 UTC
[jira] [Commented] (QPID-5535) Memory leak in Perl bindings when
fetch() called with duration
[ https://issues.apache.org/jira/browse/QPID-5535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166968#comment-14166968 ]
Darryl L. Pierce commented on QPID-5535:
----------------------------------------
Looking into this again, the memory leak is very specific. In testing I'm seeing a 33 byte steady leak, whatever the increment is. I set the duration to 10ms and it was pretty quick. I set it to 1000ms and it takes far longer than 30 seconds to leak. But not matter what it doesn't happen while messages are being sent.
> Memory leak in Perl bindings when fetch() called with duration
> --------------------------------------------------------------
>
> Key: QPID-5535
> URL: https://issues.apache.org/jira/browse/QPID-5535
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker, Perl Client
> Affects Versions: 0.24
> Environment: RHEL6/2.6.32-220.13.1.el6.x86_64 swig-1.3.40-6.el6
> Reporter: Hazel Bobrins
> Assignee: Darryl L. Pierce
> Attachments: drain_duration.pl
>
>
> When fetch() is called with a duration and no messages exist memory is leaked
> How to reproduce
> Create a queue
> Run attached code example
> Watch memory stats
> Example memory stats while running the above
> time,VmPeak,VmSize,VmHWM,VmRSS,VmData,VmStk
> 1391425166,236444,210368,15164,15164,81772,88
> 1391425171,236444,212212,16960,16960,83616,88
> 1391425176,236444,213928,18764,18764,85332,88
> 1391425181,236444,215764,20560,20560,87168,88
> 1391425186,236444,217608,22360,22360,89012,88
> 1391425191,236444,219324,24176,24176,90728,88
> 1391425196,236444,221172,25972,25972,92576,88
> 1391425201,236444,223016,27768,27768,94420,88
> 1391425206,236444,224732,29556,29556,96136,88
> Memory does not seem to be leaked if there are messages waiting on the queue or if no duration is provided and messages are present on the queue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org