PRB: Insufficient Memory or Not Enough Memory for ApplicationLast reviewed: October 18, 1996Article ID: Q101808 |
The information in this article applies to:
SYMPTOMSOne of the following error messages may occur when you attempt to start FoxPro for Windows or when you are running FoxPro for Windows:
CAUSEThere is not enough virtual memory available to start FoxPro for Windows. Virtual memory is a technique used by Windows to simulate additional memory for an application to use. Applications access the memory through virtual addresses, which are mapped to physical addresses on the disk.
RESOLUTIONUse one of the following methods to increase the amount of virtual memory.:
METHODS FOR FOXPRO 2.x FOR WINDOWS ONLY
Method 1Reduce the minimum amount of memory allocated to FoxPro for Windows by the MEMLIMIT statement in the CONFIG.FPW file. NOTE: This method does not apply if you are just starting FoxPro.
Method 2Increase the percentage of available memory allocated to FoxPro for Windows in the MEMLIMIT statement in the CONFIG.FPW file.
METHODS FOR FOXPRO 2.x AS WELL AS VISUAL FOXPRO
Method 1Increase the size of the Windows swap file. In Windows 3.1, do the following:
Method 2If an Expanded Memory Specification (EMS) emulator is in use, remove it or reduce the amount of expanded memory it provides. EMM386.EXE, provided with MS-DOS and Windows, has this emulation capability.
Method 3Reduce the size of your disk-caching software. Windows cannot use XMS memory that a disk cache is using. SMARTDRV.EXE is the disk cache provided with MS-DOS and Windows.
Method 4Verify a valid path exists for the temporary files that FoxPro creates, and that there is at least 5 MB of room available for the creation of these temporary files. For more information on using virtual memory and swap files, query on the following words here in the Microsoft Knowledge Base:
swap and file and determines and maximumNOTE: These error messages may also be caused if the resource file, FOXUSER.DBF, is corrupted. To resolve this, perform the following:
REFERENCES"Microsoft Windows Resource Kit," version 3.1, page 456
|
Additional reference words: 5.00 VFoxWin 3.00 3.00b FoxWin 2.50 2.50a 2.50b
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |