Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timers and memory leaks
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01506284
Message ID:
01506383
Views:
79
>>I have found VFP timers to be unreliable when left to run in perpetuity. Instead I call my .exe from the windows scheduler every few minutes and my .exe itself shuts down after completing its checks.
>>
>>Also, instead of a timer you could just induce a delay between loops by calling the Windows API Sleep .
>
>I agree. Never tried to prove it, but I think timers tend to leak memory and over time it's a killer.

Thirded. On my last project we had a timer-based process that ran all the time. It was nothing but trouble.
Previous
Reply
Map
View

Click here to load this message in the networking platform