🚀 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 Mickael De Preester Fri, 24 Dec 1999 00:00
memory problem with BDE
#1249
Author: Mickael De Preester
Date: Fri, 24 Dec 1999 00:00
26 lines
1276 bytes
Hi all,

I've a memory problem. When I put graphic in a table, using a DBImage
component, the used memory increase (1-3 Mo), it's normal, but when I
quit the Form, the used memory don't decrease. So if I do this many
times with more graphic, the system crashes.

The code used to put the image is :

Table1->Open();
Table1->Append();
DBImage1->Picture->LoadFromFile("toto.bmp");
Table1->Post();
Table1->Close();

I tried to delete the form, but the used memory don't decrease. It
decrease only when I close the program.

If you have a solution, please help me. I've seen that someone (Alex)
has had a problem which look like this one, but I don't see the
solution.

Thanks
Merry Christmas & happy new year.

Mick
Re: memory problem with BDE
#1253
Author: Jerry Bloomfield (TeamB)
Date: Tue, 28 Dec 1999 00:00
17 lines
1277 bytes
On Fri, 24 Dec 1999 15:26:37 +0100, Mickael De Preester
<mickael.depreester@simedge.com> wrote:

>I tried to delete the form, but the used memory don't decrease. It
>decrease only when I close the program.

What happens if you close all concurrent open connections to the database?
I have seen an issue with some databases where connection pooling causes
some connections to be held in memory until all connections are closed.
This can be a painful one if you have an application which is designed to
run 24x7...

Jerry Bloomfield (TeamB)
-- 
Jerry Bloomfield                                     JersWork@wwa.com
Proud Member of Borland's TeamB
"We'll do anything if you don't pay 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