Information générale
Catégorie:
Contrôles ActiveX en VFP
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement