Knowledge Base

Low Virtual Memory Errors with FoxPro 2.6 In Windows NT

Article ID: 123281

Article Last Modified on 11/1/2006


APPLIES TO


This article was previously published under Q123281
3.50
WINDOWS
kbinterop
When running Microsoft FoxPro for Windows version 2.6 under Windows NT version 3.5, you may receive low virtual memory errors when you attempt to start another application.

When FoxPro 2.6 for Windows loads it attempts to use as much of the paging file as possible. This can prevent other applications from loading when FoxPro is running. You can work around this by using the following entry in the CONFIG.FPW FoxPro configuration file:

MEMLIMIT=<percentage>,<minmem>,<maxmem>


where <percentage> is the percentage of memory available under Windows, <minmem> is the minimum amount of memory allocated to FoxPro, and <maxmem> is the maximum amount of memory allocated to FoxPro. MEMLIMIT defaults to 1.5 MB if the MEMLIMIT command is not included in the configuration file. For example, to allocate 20% of Windows memory, a minimum of 4 MB, and a maximum of 8 MB use the following syntax:

MEMLIMIT=20,4096,8192


For more information on the MEMLIMIT entry, consult the FoxPro for Windows version 2.6 documentation.

Additional query words: prodnt

Keywords: KB123281