Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My compiled app on my new PC hangs
Message
From
19/07/2018 03:32:45
 
 
To
18/07/2018 01:44:43
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01661202
Message ID:
01661253
Views:
81
>>>What make/model is the laptop?
>>>
>>>If it's a new one I assume it came with Windows 10 pre-installed. Is it OEM/"stock" or have you upgraded it say, from a mechanical disk drive to an SSD?
>>>
>>>Assuming it's unmodified, most manufacturers pre-install a pretty well optimized set of drivers for the hardware. That said, you could still go into Device Manager and see if there are any "Unknown devices" showing. Those would indicate missing drivers (or worst case scenario, hardware not supported under Windows 10). However, even if Device Manager is "clean" there are some potential issues, especially with brand-new computers:
>>>
>>>1. System board BIOS/firmware may require an update. Go to the manufacturer's site and see if there are any newer firmware updates for your make/model. There may also be updated chipset or disk drivers, if so install those
>>>
>>>2. Bloatware. Laptops are especially prone to getting large suites of mostly unnecessary software installed e.g. "Toshiba" utilities or "Lenovo". You might want to look at what they do, if present. If any do "automatic backup" or "data protection" or similar they might be suspect
>>>
>>>Another thing you can do, which is applicable to all PCs but especially for laptops, is to simplify. In normal use you might have an external keyboard and mouse plugged in to the laptop, maybe an external hard drive or USB flash drive, USB printer etc. For troubleshooting, disconnect everything except the power cable (and wired networking if you need that to run your app), and test using the built-in keyboard and trackpad. Some issues I've seen cause weird problems with laptops:
>>>
>>>- External keyboards or mice with weak/failing batteries
>>>- USB devices that require more power than the port on the laptop can supply e.g. some external USB3 hard drives when plugged into a USB2 port
>>>
>>>You might also check that Windows itself is up-to-date in Windows Update. A lot of new machines are still being delivered with Windows 10 1709 (September 2017), while Microsoft has been rolling out 1803 (March 2018) updates for a while now. You can check by running "winver" from the search/start menu. If you're still on 1709 it might be worth doing the major "feature update" to 1803. That takes a long time (~2 hours with a mechanical hard drive) during which time you can't use the computer, so bear that in mind.
>>
>>Hi Al
>>It is an ASUS Vivobook S15 (i7-8550U, 16GB RAM, 940MX).
>>I did change the hard disk to 512GB SSD.
>>It is Windows 10 1803.
>>Device Manager shows no issues.
>>I'll look into your suggestion on bloatware and BIOS/firmware updates.
>>I do use an external keyboard and monitor and USB drive - I'll try your suggestion about these.
>>
>>Thanks for your comprehensive list of issues to check!
>
>Hmm, it might be because you have a lot of RAM in the new computer.
>
>By default VFP may try to use a large amount of RAM if you have a lot installed. I seem to recall some people running into stability issues when running VFP apps with default memory usage settings on PCs with lots of RAM. One thing that has helped in some cases is to use SYS( 3050 ) to limit the foreground and background RAM VFP uses. I don't know of any definitive study that's ever been done but some users report that if they limit VFP to 512MB or less then problems go away e.g. http://fox.wikis.com/wc.dll?Wiki~sys3050 . ISTR some saying you basically never need to set the values over 256MB.
>
>If you've never run your app before on a machine with that much RAM, this might explain things.

Thanks Al. Good idea to try this.
Unfortunately didn't help with my PC.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform