PRB: Too Many Memory Variables Error Creating Array
Article ID: 191170
Article Last Modified on 5/12/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0b Standard Edition
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 5.0a
- Microsoft Visual FoxPro 6.0 Professional Edition
- Microsoft Visual FoxPro 3.0b for Macintosh
- Microsoft FoxPro 2.5b
- Microsoft FoxPro 2.5a
- Microsoft FoxPro 2.5b
- Microsoft FoxPro 2.6 Standard Edition
- Microsoft FoxPro 2.6a Standard Edition
- Microsoft FoxPro 2.5b for Macintosh
- Microsoft Visual FoxPro 2.5c for Macintosh
- Microsoft FoxPro 2.6a Professional Edition for Macintosh
- Microsoft FoxPro 2.0
- Microsoft FoxPro 2.5b for MS-DOS
- Microsoft FoxPro 2.5a
- Microsoft FoxPro 2.5b for MS-DOS
- Microsoft FoxPro 2.6 for MS-DOS
- Microsoft FoxPro 2.6a Standard Edition
- Microsoft FoxPro 2.6 for SCO/UNIX
This article was previously published under Q191170
SYMPTOMS
The following error may occur when you run code in an application:
Too many memory variables.
CAUSE
Using a SELECT-SQL command or another method to create a array that is
larger than 65000 elements.
RESOLUTION
Make sure that the array is less than the 65000 element limit of Visual
FoxPro.
STATUS
This behavior is by design.
REFERENCES
For additional information, please see the following article in the
Microsoft Knowledge Base:
170128
HOWTO: Programmatically Create Large Tables for Testing Purposes
Visual FoxPro Help; search on: "Visual FoxPro System Capacities"
FoxPro Help; search on: "System Capacities"
Additional query words: kbVFp300b kbVFp500 kbVFp500a kbXBase kbVFp600
Keywords: kbprb KB191170