Running Windows NT 4.0, using MS SQL 7.0 and Latest Perl build from ActiveState and DBI 1.14 and DBD-ODBC.
Any ideas why the following lines leak memory in the sqlserver.exe process. Around 4k each time the script runs. It doesn't seem to matter what SQL query I issue.
use strict;
use DBI;
print "Content-Type: text/html\n\n";
my $Conn;
my $RS;
$Conn = DBI->connect("dbi:ODBC:vitafree", "sa", "banff",{PrintError=>0,RaiseError=>0});
$RS = $Conn->prepare("select count(*) from session"
|| die $DBI::errstr;
$RS->execute() || die $DBI::errstr;
$RS->finish;
$Conn->disconnect();
Any ideas why the following lines leak memory in the sqlserver.exe process. Around 4k each time the script runs. It doesn't seem to matter what SQL query I issue.
use strict;
use DBI;
print "Content-Type: text/html\n\n";
my $Conn;
my $RS;
$Conn = DBI->connect("dbi:ODBC:vitafree", "sa", "banff",{PrintError=>0,RaiseError=>0});
$RS = $Conn->prepare("select count(*) from session"
$RS->execute() || die $DBI::errstr;
$RS->finish;
$Conn->disconnect();