Command: mem
MEM displays the amount of installed and free memory in your system.
Syntax:
MEM [options] [/?]
Options:
/ALL Show all details of high memory area (HMA).
/C Classify modules using memory below 1 MB.
/D Same as /DEBUG by default, same as /DEVICE if /OLD used.
/DEBUG Show programs and devices in conventional and upper memory.
/DEVICE List of device drivers currently in memory.
/E Reports all information about Expanded Memory.
/F Same as /FREE by default, same as /FULL if /OLD used.
/FREE Show free conventional and upper memory blocks.
/FULL Full list of memory blocks.
/M (name) | /MODULE (name)
Show memory used by the given program or driver.
/NOSUMMARY Do not show the summary normally displayed when no other
options are specified.
/OLD Compatability with FreeDOS MEM 1.7 beta.
/P Pauses after each screenful of information.
/SUMMARY Negates the /NOSUMMARY option.
/U List of programs in conventional and upper memory.
/X Reports all information about Extended Memory.
/? Shows the help.
Comments:
This command is interesting if you have problems with crashing programs.
With the command you can see if there is enough memory to execute the
program. If the lower memory is too small it may help to load the
program into high memory with the LH / LOADHIGH command.
MEM supports NLS (national language support).
Examples:
mem /DEVICE /C /P
See also:
lh
loadhigh
memory
Copyright © 1998 Jim Hall, updated 2007 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.