Low Virtual Memory Errors with FoxPro 2.6 In Windows NT

Last reviewed: December 2, 1994
Article ID: Q123281
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.6
  • Microsoft Windows NT Workstation version 3.5
  • Microsoft Windows NT Server version 3.5

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.


KBCategory: kbinterop
KBSubcategory: nt16ap
Additional reference words: prodnt 3.50


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: December 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.