Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5535

Memory leak in Perl bindings when fetch() called with duration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.24
    • None
    • C++ Broker, Perl Client
    • None
    • RHEL6/2.6.32-220.13.1.el6.x86_64 swig-1.3.40-6.el6

    Description

      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.

      Attachments

        1. drain_duration.pl
          0.4 kB
          Lin Chen

        Activity

          People

            mcpierce Darryl Pierce
            hazel Lin Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: