[tkined] Scotty memory problem

Matthew Upton (mupton@bridgewatersys.com)
Wed, 01 Dec 1999 11:44:20 -0500

Hi,

I am using Scotty 3.0.0 (with Tcl8.0.4). I created a test
script that used on session to continually send snmp
requests. I was monitoring the heap allocated memory of the
tclsh80 process and noticed it kept going up. It appears
that the session is keeping track of all of its past
requests. Is there a way to prevent the session from eating
up all of the memory (without destroying the session)?

The following script also revealed continually increasing
heap allocated memory. Am I doing something wrong here?

package require Tnm
set i 0
while {$i < 1000000} {
set s [Tnm::snmp generator]
$s destroy
}

Are there any know memory leaks when sending requests or
creating/deleting sessions?

Thanks in advance,

Matt Upton

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.