Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
100% CPU Usage
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01266057
Message ID:
01266064
Views:
17
>I have a VFP program running at multiple sites. At one particular site, some users have extremely slow performance, and they have determined that my app is grabbing up to 98% CPU Usage and sustaining it for long periods of time. Sometimes this results in the app freezing up completely.
>
>I am now looking at a specific station that has consistently slow performance. It is running Windows XP and has 1 GB memory. When I run the app on my own computer, which has only 512 MB memory, I never see such high CPU usage.
>
>Any suggestions of what might be causing this?
>
>TIA,
>Jen

If you are using loops like do while, then try to add inside the loop something like:
if recno()%100=0 && for not doing_it_on_each_step
Wait wind time 0.1 ""
endif

Also check whether they on this particular site has an antivirus running that checks files with extensions dbf/fpt/cdx.

Good Luck
Previous
Reply
Map
View

Click here to load this message in the networking platform