Subject | Memory Leak in Dataset Components? |
---|---|
Author | Arno Garrels |
Post date | 2002-11-26T09:29:14Z |
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
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