[Twisted-Python] deferreds, and .rpy resources

On Fri, 24 Jan 2003 00:39:36 -0800, Dave Peticolas wrote:
To be clear, I definitely *haven't* been using adbapi heavily up until this point. The problem I experienced occurred around the time of Twisted 1.0.1 final, and deadlines prevented my doing any exhaustive testing. The scenario was pretty basic: Connect to an Oracle database, perform a query, return the result. Using adbapi from Twisted 1.0.1 and the cx_Oracle DBAPI module, the twistd process showed steady growth in size. Each time the code executed, the process would grow by 10-50k, never releasing any memory. The same scenario, using DCOracle2, showed similar leakage. Having insufficient time to debug the thing, I went with the process of elimination, and started using deferToThread instead of adbapi, and the leak was gone. That does not in any way prove that adbapi is the root cause, only that it may be involved in some way. This was all on Win32, by the way, so I have no idea if it is an issue on Linux or Solaris. In any case, I'll get a chance to revisit the issue shortly, and I'll report my findings. L. Daniel Burr
participants (1)
-
L. Daniel Burr