Skip Menu |

This queue is for tickets about the Net--RabbitMQ CPAN distribution.

Report information
The Basics
Id: 91807
Status: new
Priority: 0/
Queue: Net--RabbitMQ

People
Owner: Nobody in particular
Requestors: dominikmostowiec [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: memory leak on transaction
Date: Thu, 2 Jan 2014 23:08:36 +0100
To: bug-Net--RabbitMQ [...] rt.cpan.org
From: Dominik Mostowiec <dominikmostowiec [...] gmail.com>
Hi, If i add tx_select and tx_commit memory application grows in memory eg: if (!defined ($mq)) { $mq = Net::RabbitMQ->new(); $mq->connect($HOST, {user => $USER, password => $PASS}); $mq->channel_open($channel); } $mq->tx_select($channel); my $ret = $mq->publish($channel, $rkey, $data, {exchange => $exchange}, {delivery_mode => 2}); if ($ret != 0) { die "publish error ($ret)"; } $mq->tx_commit($channel); After remove tx_select and tx_commit app working ok. -- Regards Dominik