Board index » delphi » Insufficient memory / memory leak BDE

Insufficient memory / memory leak BDE

after exactly 155 queries i get insufficient memory from the bde. i created
a simple app

Query1->Active = false;

Query1->SQL->Clear();
Query1->SQL->Text = Memo1->Text;
Query1->ExecSQL();
Query1->Active = true;
Query1->RequestLive =true;

when i execute this 155 times i get the memory error.

does any one know how to get around this problem?

dave
drolle...@home.com

 

Re:Insufficient memory / memory leak BDE


Quote
On Tue, 13 Jun 2000 18:35:50 -0600, "sdfg" <zfc@> wrote:
>when i execute this 155 times i get the memory error.
>does any one know how to get around this problem?

From what I have seen about successive calls to TQueries,  if you want all
of the memory to be freed,  you need to close all concurrent connections to
the database at one point,  and only then will all of the memory be
released (using BDE v5.x and MDAC 2.0 SP2 or higher)...

Jerry Bloomfield (TeamB)
--
http://www.teamb.com                                      JersW...@wwa.com
Please do *NOT* send private e-mail without prior permission (my anti-spam
filters will probably just delete it anyway <g>)

Other Threads