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

Memory leak in perl bindings?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.18, 0.20
    • 0.21
    • Perl Client
    • None
    • RHEL5, RHEL6

    Description

      I've been having problems with long running code using the perl bindings leaking memory, specifically after calls to getProperties and decodeMap.

      To reproduce - edit drain.pl to call $receiver->setCapacity(100) and then run drain.pl -f amq.match. You'll also need to hack map_sender.pl to send to amq.match and loop forever (both attached). The memory usage of drain.pl will now start growing...

      Attachments

        1. qpid-perl-memory.diff
          4 kB
          Jimmy Jones
        2. map-leak.diff
          1 kB
          Jimmy Jones
        3. map-leak.pl
          0.2 kB
          Jimmy Jones
        4. map_sender.pl
          0.7 kB
          Jimmy Jones
        5. drain.pl
          4 kB
          Jimmy Jones

        Activity

          People

            mcpierce Darryl Pierce
            jimmyjones2 Jimmy Jones
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: