Search found 7 matches

by Pengwin
23.12.2005, 19:35
Forum: 6.1.5
Topic: Memory leak? or am I doing something wrong?
Replies: 18
Views: 7293

fduenas: Does 6.5.1 compile with Delphi 4, or do I need to amend the code for this to work?
by Pengwin
13.12.2005, 09:56
Forum: 6.1.5
Topic: Memory leak? or am I doing something wrong?
Replies: 18
Views: 7293

klchin wrote:Hi Pengwin,

Is there any different if you runtime create the
both TZConnect and TZQuery?

Regards
KL Chin
No. In my test app I used design time components. In the actual project, I created the components at runtime.
by Pengwin
12.12.2005, 19:46
Forum: 6.1.5
Topic: Memory leak? or am I doing something wrong?
Replies: 18
Views: 7293

Were you using one ZConnection component between more than one thread? I don't think that would be safe. I've used zeos within a threaded application now for some time but always used a seperate ZConnection for each thread. Or you could use a single, or pool of connections and seralize the database...
by Pengwin
09.12.2005, 11:43
Forum: 6.1.5
Topic: Memory leak? or am I doing something wrong?
Replies: 18
Views: 7293

zippo : I first noticed the leak by watching the task manager. This led me to create the test app I posted here, which also exhibited the same behaviour. To confirm it wasn't FB itself, I changed the access to a MySQL db. This gave the same behaviour. So then I replaced the Zeos components with anot...
by Pengwin
08.12.2005, 11:06
Forum: 6.1.5
Topic: Memory leak? or am I doing something wrong?
Replies: 18
Views: 7293

zippo : True, but I saw only small leaks - here we are takling about 120 MB in 30 minutes - my leaks are max 1-2 Mb in few days/weeks! The main app I am develooping is performing a LOT of data access (at least 10 requests a second, potentially much more). Therefore, these little leaks mount up to a ...
by Pengwin
06.12.2005, 13:03
Forum: 6.1.5
Topic: Memory leak? or am I doing something wrong?
Replies: 18
Views: 7293

As a test, I connected the same program (above) to a MySQL database. I get the same symptoms with a rapidly escalating memory usage.
by Pengwin
06.12.2005, 12:32
Forum: 6.1.5
Topic: Memory leak? or am I doing something wrong?
Replies: 18
Views: 7293

Memory leak? or am I doing something wrong?

I am having a problem with the ZeosLib (6.1.5) linking with Firebird 1.5.2 in my Delphi 4 (yes, I am really using Delphi 4) app. Whenever I send an SQL command using the TZQuery object, my apps memory usage seems to increase. However, it never seems to decrease. I first noticed this on an app I am w...