Subject Re: [firebird-support] fbserver.exe memory consumption increases by inserting records
Author Dimitry Sibiryakov
On 2 Feb 2006 at 22:39, Ghazanfar Ali wrote:

> I have placed a loop over this code to insert 100 records. Please do
> inform me if i am missing something in the code.

The code with execute_immediate _looks_ ok and should not cause
memory consumption.
Commented code is bad: it closes cursor (needless: INSERT does not
create a cursor) but not free the statement. You should either reuse
statement handle or free it properly.

--
SY, Dimitry Sibiryakov.