The same thing happens when I comment out the checks. The script uses more memory when I connect to the database:
$dbh = new Sybase::DBlib $userid, $password, $host; $dbh->dbuse($database); Rune ----- Original Message ----- From: "Jonathan E. Paton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 02, 2002 12:31 PM Subject: Re: SybPerl - Memory leaks > > The script is not smallish, but the main loop looks like this: > > > > { > > # Connecting > > $dbh = new Sybase::DBlib $userid, $password, $host; > > $dbh->dbuse($database); > > > > # Checking > > checkProsesses(); > > checkSegmentStatus(); > > getMonitor(); > > > > # Disconnecting > > $dbh->dbclose; > > } > > Okay, it might seem obvious but what happens when you comment > out the checks? Can you reduce the problem down, at all? The > three functions are independant, right? (Hoping that nobody > is returning results using global variables... again). > > Jonathan Paton > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]