[fpc-pascal] MS SQLConn - Possible memory leak in driver (dblib or libiconv2)
Reinier Olislagers
reinierolislagers at gmail.com
Sat Oct 18 04:58:44 CEST 2014
On 17/10/2014 21:27, Marcos Douglas wrote:
> I have a big loop. This loop calls a INSERT script (using SQLdb) to
> insert records at a table.
> Everything works. I do not have mem-leak (heaptrc dialog is 0 unfreed)
> in my code. But the Windows "Commit charge" grows up exponential and I
> got an error "virtual memory...".
Does this loop happen to read through a dataset itself? If so, see the
IIRC working with sqlquery wiki page, look for out of memory error;
solution is there.
More information about the fpc-pascal
mailing list