Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6 SP3, ADO 2.5 memory leakage problem??
Message
De
19/08/2001 22:26:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00543372
Message ID:
00546024
Vues:
26
Thanks for response Sergey.

After applying the VFP SP5 and MDAC 2.6 I was able to reduce the memory leakage to 4 - 8 KB.
In WinNT Task manager i could see that sometimes memory was released completely but not every time.
It seems like there is a memory leakage problem in ADO object which i have no control of.

I 've implemented something different, so effectivly i can get rid of memory leakage. User can set the time to restart the application as new process and quit the old process. I use Windows function KILL.EXE and VFP property _VFP.processID.

With just few lines of code i got rid of memory leakage problem.
LOCAL lProcID
* start new process load your application
! /n4 GFProject.exe
lprocid = allt(str(_vfp.processid))
* kill the existing process
! /n7 KILL &lprocid


Regards
Dejan Jocic
Sydney, Australia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform