🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages Started by Juan Diego Garcés Wed, 10 May 2000 00:00
Memory problem with TClientDataSet
#1135
Author: Juan Diego Garcés
Date: Wed, 10 May 2000 00:00
35 lines
1795 bytes
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?
Re: Memory problem with TClientDataSet
#1136
Author: 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?
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads