Re: ADO - permanent memory leak?!
From: Jeff Dyer (jeff.nospam_at_trustguard.co.uk)
Date: 10/22/04
- Next message: Stig Johansen: "Re: Still having a problem with MS SQL and NT Service"
- Previous message: Bob Dalton: "Re: Microsoft Access and the Jet Engine"
- In reply to: Michal R: "ADO - permanent memory leak?!"
- Next in thread: Michal R: "Re: ADO - permanent memory leak?!"
- Reply: Michal R: "Re: ADO - permanent memory leak?!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 22 Oct 2004 16:46:13 +0100
Michal - are you using MemProof 9.5.0? I just reported the same problem to
Atanas and it appears to be a fault in MemProof. I was advised to delete the
HookCOM.hlx file.
Jeff
"Michal R" <michal@topindex.cz> wrote in message
news:4178ec03@newsgroups.borland.com...
> Can somebode help me with ADO memory leaks?!
>
> Problem is in a few memory object which stays in memory - detected by
> MemProof:
>
> 1677 SysString 00168894 15
> SysAllocStringLen(ISAUTOINCREMENT,15)
> 1709 SysString 00168894 15
> SysAllocStringLen(ISAUTOINCREMENT,15)
> 1716 SysString 00168894 15
> SysAllocStringLen(ISAUTOINCREMENT,15)
> 1723 SysString 00168894 15
> SysAllocStringLen(ISAUTOINCREMENT,15)
>
> Source module is oleaut32.dll.
>
> When followed simple code is called in a loop, used memory by application
> is still growing till...:(
>
> A'm using D7 Prof with SP 1, Win XP and data provider is
> Microsoft.Jet.OLEDB.4.0 (Access DB).
> I also have tried with ODBC provider and MySQL server and problem is the
> same. The only one difference is in
> memory object which stays in memory (for access 22, for odbc/mysql 13).
>
> Thanks for help, Michal R.
>
> A have used this simple code:
> ------------------------------------------
> procedure TForm1.specproc;
> var q:TADOQuery;
> begin
> q:=TADOQuery.Create(nil);
> try
> q.SQL.Clear;
> q.Connection:=ADOConnection1;
> q.SQL.add('select * from mon');
> q.Active:=true;
>
> {....}
>
> q.Active:=false;
> finally
> q.Free;
> end;
> end;
>
>
- Next message: Stig Johansen: "Re: Still having a problem with MS SQL and NT Service"
- Previous message: Bob Dalton: "Re: Microsoft Access and the Jet Engine"
- In reply to: Michal R: "ADO - permanent memory leak?!"
- Next in thread: Michal R: "Re: ADO - permanent memory leak?!"
- Reply: Michal R: "Re: ADO - permanent memory leak?!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|