Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory Leaks - Sys(1104)
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00494709
Message ID:
00495564
Views:
22
>>We have a spider process that runs some fairly intensive data processes in the background and have recently been receiving a number of inconsistent bugs.
>>
>>We believe we have narrowed the problem down to a resource problem. After running one data intensive process after another, VFP does not release the memory right away and eventually, we run out of resources. The results at this point are unpredicatable. Tables that were opened up one line before have been closed. Memory variables that we declared a few lines above suddenly have disappeared.
>>
>>We are going to issue a Sys(1104) after each process in hopes of getting some of the memory back. My experience has been that you don't get all of it back.
>>
>>We would also like to added to our error log the amount of RAM in use at the time of the error. FoxPro's Sys(1016) is not adequate for what we need.
>>
>>What are some API calls that would give us an accurate picture of memory in use?
>>
>>TIA
>

>
>look at API #12725
>
>But, eh, what does Sys(1104) do? I can't find it in my VS7 help file.

http://support.microsoft.com/support/kb/articles/Q269/2/84.ASP
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform