Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Memory leak
Date: Apr 20 1998 5:49PM
Shaun McClimon writes:
> Can someone help me with my code? This code continues to use memory up
> and has gotten as high as 40 megs. What is going on?
> $ref = $T->ct_sql($IDS);
> $del = $T->ct_sql("delete ids1db..tESC where counter =
ct_sql() leaks, unfortunately.
I have not had the time to figure out exactly why it leaks, when a
similar code sequence that is not in a subroutine doesn't leak.
You can work around this by not using ct_sql(), and writing your own
ExecSql() routine that does not fetch any rows, for example.
Michael Peppler -||- Data Migrations Inc.
email@example.com -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com