🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1136

Re: Memory problem with TClientDataSet

#1136
From: Girts
Date: Wed, 10 May 2000 00:00
57 lines
2833 bytes
I had the similar problem in the post you mention:
> PD: I saw that someone has the same problem (april 11: Memory usage
> increase using TClientDataSet as a local temporary dataset), could BTeam
> answer us?
Since then I gave up using TClientDataSet as a memory table for exactly the
memory leak problem.
I switched to TkbmMEMTABLE (v. 2.37 (3. Apr. 2000)).
Memory leaks are since then gone and actually my report is now working twice
as fast. Only disadvantage using it is slightly different syntax (changes in
existing code) and it does not support "Filter" property in CBC4, but
OnFilter event works great.. And of course, it is additional component added
to the complexity of application ...

So, I would be interested in a response as well ...
Girts.

PS. if you are interested in TkbmMEMTABLE  you can find more info at:
http://www.onelist.com/community/memtable

Juan Diego Garc�s <daes_ch.jdg@bluemail.ch> wrote in message
news:39191A0C.6CBE6B05@bluemail.ch...
> We are developing a real time application. The function of this
> application is to create an event journal that has 3 levels :
>
> 1. The first is a TClientDataSet with 10000 lines maximum. This is a
> table in memory.
> 2. The second is an InterBase table with 150000 lines maximum.
> 3. The third is an unlimited Interbase table in a server that saves all
> the installation journal lines.
>
> The first and the second levels are circular tables.
>
> This application cans be installed in many machines over a network.
>
> We have a problem with the first level, the application begins to take
> and take the memory until the machine is saturated. but there is
> something odd, there are machines where the application is stable.
>
> In this application we don't use new or malloc sentences, we don't
> create objects in runtime, only we write in the TClientDateSet and in
> the Interbase tables.
>
> Can a TClientDataSet take the memory when we write and rewrite into ?
> don't forget that this one is a circular table.
>
>
> Thank you
>
>
> Juan Diego Garc�s
> Schenider Electric Suisse
>
>
> PD: I saw that someone has the same problem (april 11: Memory usage
> increase using TClientDataSet as a local temporary dataset), could BTeam
> answer us?
>
Technical Details
Message-ID: <8fb7a4$1b52@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39191A0C.6CBE6B05@bluemail.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fcd2b,a15b39f5db0bd1ca
X-Google-Attributes: gidfcd2b,public
From: "Girts" <girts@vivasport.lv>
Subject: Re: Memory problem with TClientDataSet
Date: 2000/05/10
Message-ID: <8fb7a4$1b52@bornews.borland.com>
X-Deja-AN: 621488863
References: <39191A0C.6CBE6B05@bluemail.ch>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.cppbuilder.database.multi-tier