memória insuficiente (diferente dos outros problemas citados

Delphi

25/07/2005

Por que está dando erro de memória insuficiente no código abaixo?
Não consigui achar o erro... Não está criando nada sem dar free...
Quem puder me ajudar...
Grato

while ( ADOQueryImport.Eof = False ) do
begin
sqlCommand := ´INSERT INTO TC6_POST_TARIFF ....)
ADOQuerySystem.SQL.Add( sqlCommand );
sqlCommand := ´´;
inc(regCount);

if ( regCount mod 100 = 0 ) then begin
ADOQuerySystem.SQL.Add(´END;´);
ADOQuerySystem.ExecSQL;
ExecutaCommit;
Application.ProcessMessages;
Memo1.Lines.Add( ´Importados ´ + IntToStr( regCount )+ ´ registros´ );
ADOQuerySystem.SQL.Clear;
ADOQuerySystem.SQL.Add(´BEGIN´);
end;

Gauge1.AddProgress(1);
ADOQueryImport.Next;
end;


Del

Del

Curtidas 0

Respostas

Del

Del

25/07/2005

Obrigado para quem tentou me ajudar.
Tirei o Gauge, setei o cursor do AdoConnection para Server e funcionou.
Obrigado.
Del


GOSTEI 0
Del

Del

25/07/2005

:(
Pessoal, voltou a dar erro.
Alguém pode me ajudar?
O intrigante é que tenho uma rotina exatamente igual para outra tabela acima que roda normalmente.
(leio de uma tabela do access para importar para O Oracle 9i).


GOSTEI 0
POSTAR