PRB: "Insufficient Memory"/"Not Enough Memory to Allocate..."Last reviewed: April 30, 1996Article ID: Q115934 |
The information in this article applies to:
SYMPTOMSOne of the following error messages is displayed when FoxPro starts or a FoxPro program is run:
Insufficient memory -or- Not enough memory to allocate memory variable table CAUSEIn FoxPro 2.6, the default value of MVCOUNT is 1024. There is not enough memory for the MVCOUNT memory variable table allocation and the program you're attempting to run.
RESOLUTIONDecrease the MVCOUNT setting in the configuration file. To change the value of MVCOUNT, create a line similar to the following in the configuration file (usually CONFIG.FPW for FoxPro for Windows and CONFIG.FP for FoxPro for MS-DOS):
MVCOUNT = 512 STATUSThis behavior is by design.
MORE INFORMATIONMVCOUNT sets the maximum number of memory variables that FoxPro can maintain. This value can range from 128 to 65000. The default value for MVCOUNT in FoxPro 2.5 for Windows and MS-DOS is 256. It was increased to 1024 in FoxPro 2.6 to accommodate the number of memory variables used by Catalog Manager.
|
Additional reference words: FoxDos FoxWin 2.60 errmsg err msg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |