中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-24 12:32
47,815 topics / 349,928 posts / today 0 new / 48,288 members
DOS疑难解答 & 问题讨论 (解答室) » How to obtain the actual memory capacity and physical memory capacity under DOS
Printable Version  3,291 / 11
Floor1 zhuy82 Posted 2010-08-05 09:26
新手上路 Posts 3 Credits 4
Floor2 tongzj Posted 2010-08-05 16:17
初级用户 Posts 43 Credits 49
View memory information using wmic:

wmic MEMLOGICAL list full
Floor3 lovelymorning Posted 2010-08-05 23:48
初级用户 Posts 72 Credits 131
Under XP, you can use systeminfo to see... Pure DOS... Haven't played with it...
Floor4 zhuy82 Posted 2010-08-12 11:30
新手上路 Posts 3 Credits 4
Thanks to the user on the 2nd floor, how to use this command in pure DOS?
Floor5 DOSforever Posted 2010-08-14 23:46
金牌会员 Posts 2,239 Credits 4,639
I don't understand the difference between the actual memory capacity you mentioned and the physical memory capacity. Could it be that the physical one isn't enough for the actual use?
Floor6 HAT Posted 2010-08-15 13:16
版主 Posts 5,017 Credits 9,023
Does the actual memory capacity refer to the current available memory? Or the total amount of physical memory plus virtual memory?
Floor7 fujianabc Posted 2010-08-15 13:23
金牌会员 Posts 1,616 Credits 3,467
The `mem` command can be viewed, provided that `himem.sys` is loaded
Floor8 azziporah Posted 2010-09-04 18:14
初级用户 Posts 47 Credits 102
Refer to the memtest source code
http://www.memtest.org/

Although this memtest obtains the available capacity and physical capacity of the bare metal, it is still quite meaningful for reference

[ Last edited by azziporah on 2010-9-5 at 03:05 ]
Floor9 fujianabc Posted 2010-09-04 21:45
金牌会员 Posts 1,616 Credits 3,467
Originally posted by fairsky007 at 2010-9-2 10:55 AM:
MEM|NSET /L9 /XK M=$3
echo %M%

I tried it on my virtual machine, and it shows 1,048,512 (k). My virtual machine is set to 1G memory. I don't know where the extra part comes from. Hehe

1GB of memory is 1024*1024=1048576K, there is no extra
Floor10 DOSforever Posted 2010-09-04 22:08
金牌会员 Posts 2,239 Credits 4,639
Originally posted by fujianabc at 2010-9-4 21:45:

1GB memory is 1024*1024=1048576K, no more


Hehe, an accidental small mistake, correct it by myself.
Floor11 fujianabc Posted 2010-09-06 10:59
金牌会员 Posts 1,616 Credits 3,467
Originally posted by DOSforever at 2010-9-4 10:08 PM:

Hehe, just a small mistake by accident, correct it by myself.

What's wrong?
Floor12 DOSforever Posted 2010-09-12 14:09
金牌会员 Posts 2,239 Credits 4,639
Hehe, actually it's nothing.

1GB of memory is 1048576K, which is correct, but it should be 1024*1024*1024. I'm just being overly critical.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023