PRB: Too Many Memory Variables

Article translations Article translations
Article ID: 105007 - View products that this article applies to.
This article was previously published under Q105007
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all


When you are executing a program, the following error message is returned:
Too Many Memory Variables


The default setting of memory variables has been exceeded. This default is 1024 for Visual FoxPro 3.0 for Windows, and 256 for all previous versions of FoxPro.


To work around this problem, add MVCOUNT = <Expr> to the CONFIG.FPW file for FoxPro for Windows, the CONFIG.FP file for FoxPro for MS-DOS, or the CONFIG.FX file for FoxBASE+ for MS-DOS and the Macintosh. The maximum setting for MVCOUNT for 16-bit mode is 3600 (FoxPro for MS-DOS only) and the maximum for 32-bit mode is 65000.


Article ID: 105007 - Last Review: February 28, 2014 - Revision: 3.1
  • Microsoft Visual FoxPro 3.0 Standard Edition
  • Microsoft FoxPro 2.0
  • Microsoft FoxBASE+ 2.01 for Macintosh
  • Microsoft FoxBASE+ 2.5 for MS-DOS
kbnosurvey kbarchive kberrmsg KB105007

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from