Article

From:
To:
Mohamad Alsalibi
Subject:
Re: IBQuery memory leak
Newsgroup:
embarcadero.public.delphi.database.interbase_express

Re: IBQuery memory leak

Mohamad Alsalibi wrote:
>> {quote:title=Charles Jensen wrote:}{quote}
>> I'm having a problem with memory leaks after updating (several) projects from XE2 to XE3.
>>
>> Clearly visible when ReportMemoryLeaksOnShutdown is enabled. => It seems to be related to using TIBQuery. 
>>
>> Could it be because memory is allocated with GetMem/ReAllocMem (in IBAlloc) and freed by "FreeRecordBuffer" by setting the pointer to nil?
>>
>> - Charles
> 
> Any Solution to the Leaking problem. I had the same thing with IB Components, the app fails with out of memory error.

I posted the solution in this thread.

-- Jeff Overcash (TeamB)        (Please do not email me directly unless asked. Thank You) And so I patrol in the valley of the shadow of the tricolor I must fear evil. For I am but mortal and mortals can only die. Asking questions, pleading answers from the nameless faceless watchers that stalk the carpeted corridors of Whitehall.               (Fish)
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack
Sun, 09 May 2021 19:55:41 UTC
Copyright © 2009-2021
HREF Tools Corp.