Microsoft Product Support Services   All Products  |   Support  |   Search  |   microsoft.com Home  
microsoft.com
  Support Home  |   Self Support  |   Assisted Support  |   Custom Support  |   Worldwide Support  |

EMM386.EXE Dynamic Memory Allocation


The information in this article applies to:
  • Microsoft MS-DOS operating system version 6.0


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 : msdos
Version : MS-DOS:6.0
Platform : MS-DOS
Issue type :
Technology :


Last Reviewed: November 16, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.


Article ID: Q96935

Last Reviewed:
November 16, 1999

Send to a friend

Provided by
Microsoft Product Support Services


Did the information in this article help answer your question?

Yes
No
Did not apply

Please provide additional comments about this information.
(255 character max)