Microsoft KB Archive/96935

= EMM386.EXE Dynamic Memory Allocation =

Article ID: 96935

Article Last Modified on 11/19/1999

-

APPLIES TO


 * Microsoft MS-DOS 6.0 Standard Edition

-



This article was previously published under Q96935



SUMMARY
EMM386.EXE version 4.45, which ships with MS-DOS 6.0, dynamically allocates and releases memory that conforms to the Extended Memory Specification (XMS), the Expanded Memory Specification (EMS), or the Virtual Control Program Interface (VCPI) specification. For example, if a program releases a certain amount of EMS memory, other programs that need XMS memory can request and receive additional XMS memory from the released EMS memory. In other words, EMM386.EXE can provide extended or expanded memory as needed by adjusting the EMS memory pool.



MORE INFORMATION
You can limit this feature by using the maximum and minimum memory parameters of EMM386.EXE. For example, if you want to give EMM386.EXE 2 megabytes of memory and keep it from dynamically allocating that memory, use the following EMM386.EXE DEVICE line:   device=c:\dos\emm386.exe 2048 min=2048 ram NOTE: This feature is application dependent. If an application does not release allocated XMS or EMS memory, EMM386.EXE cannot give that memory to other applications.

Additional query words: 6.00

Keywords: KB96935

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.