Subject | Re: [IBO] Memory Leak in Dataset Components? |
---|---|
Author | Arno Garrels |
Post date | 2002-11-27T16:01:51Z |
Oops, after some hours it seems that unpreparing the queries solved the
problem (I love service debugging).
regards
Arno Garrels
problem (I love service debugging).
regards
Arno Garrels
----- Original Message -----
From: "Arno Garrels" <arno.garrels@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, November 27, 2002 9:26 AM
Subject: Re: [IBO] Memory Leak in Dataset Components?
> Still the same behavior after Unpreparing.
> I do not understand why closing a dataset does not release resources.
>
> > You should probably use cursor components instead of TIBOQuery, etc.
>
> Thought that Dataset Components had been made for converting an existing
BDE
> app. to IBO. Now I have a problem.
>
> regards
> Arno Garrels
>
>
> ----- Original Message -----
> From: "Jason Wharton" <jwharton@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Tuesday, November 26, 2002 6:49 PM
> Subject: Re: [IBO] Memory Leak in Dataset Components?
>
>
> > 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 --
> >
> >
> > ----- 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
> >
> >
> >
> >
> >
__________________________________________________________________________
> _
> > IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> > without the need for BDE, ODBC or any other layer.
> >
>
___________________________________________________________________________
> > http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> > keyword-searchable FAQ, community code contributions and more !
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
> >
>
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>