Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to track down memory leak(s)
Message
 
À
07/05/2009 16:35:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01398453
Message ID:
01398668
Vues:
123
>I'm looking for ideas on tracking down memory leaks in an application. Here's the background. I have a VFP EXE (call it UI) that instantiates a VFP COM DLL (call it DL). DL instantiates another VFP COM DLL (call it Online Timer) and a C# DLL (call it Comms). Comms talks to some hardware.
>

Are you instanciating the .NET COM component a lot or are you just holding a reference to it? Do you know if the memory is being taken by VFP or by one of your COM components? You could probably test whether it's happening in .NET pretty easily by creating a dummy/stub version of it then monitoring the memory usage.

Are you explicitly releasing the variables (or properties) in DL that access your UI?
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform