Subject | Re: [firebird-support] fbserver.exe memory consumption increases by inserting records |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2006-02-03T06:55:03Z |
On 2 Feb 2006 at 22:39, Ghazanfar Ali wrote:
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.
> I have placed a loop over this code to insert 100 records. Please doThe code with execute_immediate _looks_ ok and should not cause
> inform me if i am missing something in the code.
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.