Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to track down memory leak(s)
Message
 
To
07/05/2009 16:35:00
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01398453
Message ID:
01398668
Views:
120
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform