Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to track down memory leak(s)
Message
From
08/05/2009 14:20:40
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01398453
Message ID:
01398701
Views:
118
>>>Does the memory come back if you release and reinstanciate the VFP COM objects?
>>
>>I don't know and that would be extremely hard to test in this app. What I have been testing today (left running the last 3 hours to get some real data) is what happens if I run with those objects built in instead of COM.
>
>That should at least tell you the same thing - is the leak because of the COM interop or is it something else. Are you using GDI+ here? If so, it could be leaking memory there.

Looks like it is the COM interop. When I run the whole thing from the Command Window without the COM objects registered, memory usage goes up much more slowly. So it looks like it's VFP, not me, and I'll need to use Bernard Bout's trick for releasing memory periodically. (http://www.foxite.com/faq/default.aspx?id=55)

Off to play with that.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform