Memory Leak With ADO

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
Jan.Poehland
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 03.04.2011, 13:40
Location: Minneapolis, MN
Contact:

Memory Leak With ADO

Post by Jan.Poehland »

Opening and closing lots of queries that point to an ADO connection (which is pointing to a MS SQL database in my case) is causing massive memory leaks. Even closing the entire connection does not free up the memory. Unfortunately, I can't modify the MS SQL database in any way to change data types or shorten field lengths since this is a customer's database.
Non-ADO connections are not showing this behavior and this also only occurs with large number of queries (>500) opened within a short amount of time - even if all queries are properly closed before opening a new one.
Any ideas??

Using the latest ZEOSLib Rev 8.78 from http://zeosdownload.firmos.at/downloads/snapshots/ with Delphi 2009
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

May this be caused by memory reserved by the ADO routines that's not freed because some ADO routine isn't called at the right moment?
Or is the leaking memory reserved by zeoslib itself?

Mark
Image
Locked