Board index » delphi » Delphi 2.x, ODBC+BDE = Memory leak?

Delphi 2.x, ODBC+BDE = Memory leak?

  I have an application that talks to an access database via ODBC (I
know, I know, performance is terrible).??I am using SQL statements to
submit updates/queries.??

  The problem is that after processing about 2500 updates, memory
utilization has gone from 3 meg to 30 meg or more!??I checked all my code
by hand and ran bounds checker but could find no leaks.??Best I can
figure is the BDE is leaking somewhere, but I can't find it.?

 ?Does anyone have any clues on this?

  BTW: I've found a thread in DejaNews pertaining to BDE leaks and using
PREPARE to alleviate them.??This did not seem to help.

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet

 

Re:Delphi 2.x, ODBC+BDE = Memory leak?


Quote
golds...@mont.disa.mil wrote:

>   I have an application that talks to an access database via ODBC (I
> know, I know, performance is terrible).  I am using SQL statements to
> submit updates/queries.

>   The problem is that after processing about 2500 updates, memory
> utilization has gone from 3 meg to 30 meg or more!  I checked all my code
> by hand and ran bounds checker but could find no leaks.  Best I can
> figure is the BDE is leaking somewhere, but I can't find it.

>   Does anyone have any clues on this?

>   BTW: I've found a thread in DejaNews pertaining to BDE leaks and using
> PREPARE to alleviate them.  This did not seem to help.

> -------------------==== Posted via Deja News ====-----------------------
>       http://www.dejanews.com/     Search, Read, Post to Usenet

Which ODBC are you using ? I'm also using ODBC, however, I've not yet
tried your case.  My impression is memory allocated increases but up to
a certain amount only.

Regards,
Nelson.
hkzur...@ibmmail.com

Other Threads