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: Ashutosh Joglekar <ajogleka at ltcm dot com>
Subject: Re: memleak in dblogin
Date: Apr 29 1998 12:30PM

Michael Peppler wrote:

> I have not found the culprit - ie if it's my code or somewhere in perl's
> internals that the leak
> happens.

 I think the culprit is DBLibrary itself. I have noticed memory leaks in the
dblogin call in C programs (i.e. no perl, just C DBlib) while Purifying them.
(dbfcmd also leaks some memory by the way.)

dblogin also winds up calling some solaris system functions that don't close some
file handles. (I might have the name wrong but I believe the function was called
door something... man door turns up a rather interesting man page.)

Cheers,
Ashu