Extended Memory Settings in PIF Are Ignored

Last reviewed: April 18, 1995
Article ID: Q110359
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.5x, 2.6, and 2.6a

SUMMARY

FoxPro does not use the memory specifications in a program information file (PIF). This is because FoxPro is running under an MS-DOS Protected Mode Interface (DPMI)-compliant memory manager (Microsoft Windows).

To specify an amount of memory for FoxPro to use, use the MEMLIMIT command in the CONFIG.FP file. The syntax for MEMLIMIT is as follows:

   MEMLIMIT=<% of available memory>,[<minimum memory requested
   (K)>],[<Maximum memory limit (K)>]

NOTE: When you use the MEMLIMIT command, be sure to include the last two parameters on the command. In the following example, using MEMLIMIT=85 may not yield the same result as using all three parameters:

   MEMLIMIT=85,2048,4096

For more information about MEMLIMIT, see page 1-2 in the "Update" manual.

MORE INFORMATION

The 32-bit Extended version of FoxPro (FOXPROX.EXE) is a DPMI client. Therefore, it allocates memory from the DPMI server just like Windows does. The 32-bit version of FoxPro does not use the pool of extended and expanded memory that Windows apportions to it based on the PIF.

Memory allocated for expanded or extended memory through the PIF is ignored by the 32-bit version of FoxPro. However, Windows allocates the memory specified in the PIF. As a result, the memory specified in the PIF under the EMS (expanded) or XMS (extended) memory settings will be reserved and not available to the 32-bit version of FoxPro.


Additional reference words: FoxDos 2.50 2.50a 2.50b 2.60 2.60a
KBCategory: kbprg
KBSubcategory:


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 18, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.