Subject: | Confirmed memory leak |
We have found a memory leak in DBD::Oracle.
Under our conditions it seems to be leaking about 1 meg/second.
We are running:
- DBD::Oracle 1.15 or 1.14
- DBI 1.30 or 1.42
- Perl 5.8.0 or 5.8.3
- Redhat Enterprise Advance Server 3.0
Here is a script that reproduces the bug:
use DBI;
my $dsn = "your_dsn_here";
my $user = "your_user_name_here";
my $password = "your_password_here";
my $query = "select count(*) from your_table_here";
my $dbh = DBI->connect($dsn, $user, $password, 0);
$stmt = $dbh->prepare($query);
while(1) {
$stmt->execute();
my ($result) = $stmt->fetchrow_array();
$stmt->finish();
}