PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: memleak in dblogin
Date: Apr 28 1998 11:41PM

Mark Gibson writes:
 > I think I've stumbled on a memory leak in dblogin. Running this will cause 
 > the memory to grow:
 > 
 > while (1) {
 >   $db = Sybase::DBlib->dblogin('login','password');
 >   $db->dbclose();
 > }
 > 
 > Im using sybperl 2.09,perl5 (5.0 patchlevel 4 subversion 4),Sybase 11.0.2
 > and solaris 5.4.
 > 
 > 

This is actually a known problem. I guess it should make it into some
sort of BUGS file in the distribution. I have not found the culprit -
ie if it's my code or somewhere in perl's internals that the leak
happens.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@datamig.com    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com