Microsoft KB Archive/110359

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 2.5x, 2.6, 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>,[],[]" 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 query words: FoxDos 2.50 2.50a 2.50b

Keywords         : Version          : Platform         : Issue type       :
 * }