Subject | Re: [IBO] Memory Leak in Dataset Components? |
---|---|
Author | Jason Wharton |
Post date | 2002-11-26T17:49:03Z |
Try unpreparing the queries by calling Unprepare.
You should probably use cursor components instead of TIBOQuery, etc.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
You should probably use cursor components instead of TIBOQuery, etc.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: "Arno Garrels" <arno.garrels@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, November 26, 2002 2:29 AM
Subject: [IBO] Memory Leak in Dataset Components?
> Hi all,
>
> In order to avoid that memory use is growing endless, I have to destroy
the
> datamodule with all data access components after each database action.
> The D4 app. is a NT service and a simple database job is done in the
service
> thread each 58 sec. on a timer event. Memproof shows a lot of left live
> pointers and virtual allocations that all point to IBO 4.2Hj even when I
> disconnect the database/connection after each DB-action. I tried D5 but
> without success.
> Is there a way to keep the connection and close the datasets only without
a
> memory leak?
>
> Thanks in advance
> Arno Garrels