PRB: Too Many Memory Variables (105007)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft FoxPro for MS-DOS 2.0
  • Microsoft FoxBASE+ for Macintosh 2.01
  • Microsoft FoxBASE+ for MS-DOS 2.1

This article was previously published under Q105007

SYMPTOMS

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

CAUSE

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.

RESOLUTION

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.

Modification Type:MajorLast Reviewed:6/30/2004
Keywords:kberrmsg KB105007