Until very recently, we woulad have had no way to discover this potential problem, since our main app (using DOA quite successfully) only loads one TOracleSession, and logs in only once.
Now we are attempting to implement some plugins (packages, DLLs). Each of these requires access to the Oracle Database. If a TOracleSession is placed on each form, the form "leaks" resources like gangbusters when closed.
We have been unable to get SleuthQA to debug into the DOA Source, but each resource leak occurs at: DOA.bpl::ServerAttach
Not sure we had the right answer, we revised a couple of these plugins to use BDE/Tquery rather than DOA/TOracleDataSet, and voila, the resource leak went away.
That points us toward something in DOA causing the leak. We are still logging onto the same database and using the same Net 8 client, so they can't be at fault.
I'd be happy to further debug this if you can tell me how to get SleuthQA (Turbopower) to debug into the DOA components. Failing that, I'd hope that you might have a look.
DOA 3.3.3, D5, Oracle 8.0.5 and 8.1.6
Thanks.
DaveH
Now we are attempting to implement some plugins (packages, DLLs). Each of these requires access to the Oracle Database. If a TOracleSession is placed on each form, the form "leaks" resources like gangbusters when closed.
We have been unable to get SleuthQA to debug into the DOA Source, but each resource leak occurs at: DOA.bpl::ServerAttach
Not sure we had the right answer, we revised a couple of these plugins to use BDE/Tquery rather than DOA/TOracleDataSet, and voila, the resource leak went away.
That points us toward something in DOA causing the leak. We are still logging onto the same database and using the same Net 8 client, so they can't be at fault.
I'd be happy to further debug this if you can tell me how to get SleuthQA (Turbopower) to debug into the DOA components. Failing that, I'd hope that you might have a look.
DOA 3.3.3, D5, Oracle 8.0.5 and 8.1.6
Thanks.
DaveH