Subject: [cpan #6245] Confirmed memory leak

From: "Guest via RT" <[email-masked]>
Date: Wed, 1 Sep 2004 10:56:41 -0400 (EDT)

This message about DBD-Oracle was sent to you by guest <> via rt.cpan.org

Full context and any attached attachments can be found at:
<URL: https://rt.cpan.org/Ticket/Display.html?id=6245 >

I Using :
1. SunOS 5.6 Generic_105181-33 sun4u sparc SUNW,Ultra-Enterprise
   Perl 5.005_03
   DBI 1.37
   DBD-Oracle 1.14
   Oracle Release 8.1.5.0.0

2. Linux 2.4.18-17.7.xsmp #1 SMP i686
   Perl 5.6.1
   DBI 1.41
   DBD-Oracle 1.16
   Oracle Release 8.1.6.0.0

II The following code:

use strict;
use DBI;

foreach ( 1 .. 100 ) {
  my $dbh = DBI->connect( 'dbi:Oracle:host=****', '***', '***' );
  $dbh->disconnect();
  sleep(1)
}

III Leak about 4K every 10 seconds

 PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
24927 aldo      15   0  8724 8720  2760 S     1.3  3.4   0:01 perl

 PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
24927 aldo      15   0  8736 8732  2760 S     0.7  3.4   0:01 perl