DOA with MIDAS Question....

Dean

Member²
Hi,

I'm trying to move a MIDAS BDE application over to DOA. I replaced all of my queries on the server side with TOracleDataSets and everything runs beautifully. However, I am now noticing a memory leak in the server, a fairly substantial one, that is larger the more queries that you run.

I built a test program that contains a tprovider and tclientdataset connection to a TOracleDataSet and opened and closed the query 20 times. The leak was about 400k. If I open the TOracleDataSet directly, and do the same thing, there is no memory leak. The exact same query in a BDE setup has no problem.

I'm using Oracle 8.05 client with the latest version of DOA. If anyone knows anything about this issue, please let me know. I'm going to fire up Memory Sleuth and give it a go tommorrow. I'm fairly confident that the leak isn't in anything that I've done, since I changed nothing from the BDE server which worked OK (memory wise).

Thanks...

[This message has been edited by Dean (edited 03 October 2000).]
 
Thank God for Memory Sleuth. The problem has to do with a little variable called IParams that is not being freed in the TOracleDataSet on a destroy. It looks as though the IParams object is used to map items from the Variable property to a TParams type. It's a protected variable so you can override and fix until they deal with the problem.

Take Care
Dean
 
Back
Top