Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Re: Error
Miscellaneous
Thread ID:
01309721
Message ID:
01309722
Views:
9
>I have an old application in VFP7. It runs fine on one computer but got this error message "Not enough memory for file map" on a few other computers.
>They all running Windows XP Professionals.
>The program runs ok before, the change is the computers get upgraded with more hard drive and memory than before.
>Kind of funny if that's the cause of the error.
>


Hi Jun,

VFP8 and earlier do have a problem handling memory bigger than 512MB. It usually happens when processing large tables and manifests itself with error message "Not enough memory for file map" (error 1150). It's currable by reducing memory for VFP buffers with SYS(3050).
SYS(3050, 1, 512*1024*1024)
SYS(3050, 2, 512*1024*1024)
Also try to call SYS(1104) after command that process large tables. It clears memory cache and buffers.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform