jhtppp
新手上路
积分 16
发帖 5
注册 2008-10-28
状态 离线
|
『楼 主』:
dos下内存执行程序内存不足的问题
dos下执行程序 显示 no enough memory
config.sys 如下
device = c:\net\himem.sys /testmem:foff
device = c:\net\emm386.exe noems x=a000-c9ff i=e000-efff
files =30
dos =high,umb
lastdrive = z
执行程序是显示 内存不足 程序大小267K
其间修改过:
将 device = c:\net\emm386.exe noems x=a000-c9ff i=e000-efff
改成 device = c:\net\emm386.exe ram
将 dos= high,umb 屏蔽
将 lastdrive = z 改成 lastdrive =k or h
均无法完成
men 检查情况
name total = coventional + upper memory
--------- ---------- -------- ------------------ ----- ----------------------
msdos 58,221 58221 0
command 4992 4992 0
free 558,272 558,272 0
memory summary:
type of memory total = used + free
----------------------- ------- ----------- ---------
conventional 621,568 63,296 558,272
upper o 0 0
reserved 0 0 0
extended(xms) 31,078,848 31,454,280 0
----------------------- ----------------- ----------------- ---------
total memory 32,078,848 31,520,576 558,272
total under 1mb 621,568 63,296 558,272
largest executable program size 558,256
kagest free upper memory block 0
加载程序后 men 检查情况
name total = coventional + upper memory
--------- ---------- -------- ------------------ ----- ----------------------
msdos 16,717 16,717 0
himem 1,168 1,168
emm386 3,120 3,120
command 2,976 2,976
lansma03 84,032 84,032
et16v-16 70,992 0 70,992
prdrv 35,264 0 35,264
free 549,344 513,472 35, 872
memory summary:
type of memory total = used + free
----------------------- ------- ----------- ---------
conventional 621,568 108,096 513,472
upper 142,128 106,256 35,872
reserved 0 0 0
extended(xms) 31,078,848 450,768 30,848,384
----------------------- ----------------- ----------------- ---------
total memory 32,078,848 665,120 31,413,728
total under 1mb 763,696 214,352 549,344
largest executable program size 512,896
kagest free upper memory block 19,152
ms-dos is resident in the high memory area.
|
|