PRB: Too Many Memory Variables

Last reviewed: April 29, 1996
Article ID: Q105007
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro for Windows, versions 2.5x, 2.6x
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5x, 2.6x
  • Microsoft FoxBASE+ for the Macintosh, version 2.01
  • Microsoft FoxBASE+ for MS-DOS, version 2.1

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.


Additional reference words: VFoxWin 3.00 FoxDos FoxWin 2.00 2.01 2.10 2.50
2.50a 2.50b 2.60 2.60a
mvar memory number errmsg err msg foxbase+/mac
KBCategory: kbprg kberrmsg kbprb
KBSubcategory: FxenvConfigfp


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.