| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 25679 | 2002-10-09 19:19:00 | Upper Memory!!! | Derek (1260) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 87547 | 2002-10-10 11:19:00 | Terry, you will notice that you also have 0kb total/used upper memory which means that emm386 isn't providing upper memory at all . For reference this is what I have in my config . sys: DEVICEHIGH=C:\WINDOWS\HIMEM . SYS DOS=HIGH,UMB DEVICEHIGH=C:\WINDOWS\EMM386 . EXE RAM MIN=0 AUTO BUFFERSHIGH=99,8 The reason the size of vmm32 varies is because its using up any unallocated upper memory you have . You can check it with the output of "mem /c" and a calcuator . Here's another badly formatted copy of "mem /c" from 98se where you can see upper memory being used by both windows and dos: Modules using memory below 1 MB: Name Total Conventional Upper Memory -------- ---------------- ---------------- ---------------- SYSTEM 75,488 (74K) 14,720 (14K) 60,768 (59K) HIMEM 1,120 (1K) 1,120 (1K) 0 (0K) EMM386 4,320 (4K) 4,320 (4K) 0 (0K) DBLBUFF 2,976 (3K) 2,976 (3K) 0 (0K) WIN 3,904 (4K) 3,904 (4K) 0 (0K) vmm32 25,472 (25K) 1,040 (1K) 24,432 (24K) SBEINIT 4,736 (5K) 4,736 (5K) 0 (0K) COMMAND 11,392 (11K) 11,392 (11K) 0 (0K) IFSHLP 2,864 (3K) 0 (0K) 2,864 (3K) DOSKEY 4,688 (5K) 0 (0K) 4,688 (5K) Free 610,672 (596K) 610,672 (596K) 0 (0K) Memory Summary: Type of Memory Total Used Free ---------------- ----------- ----------- ----------- Conventional 655,360 44,688 610,672 Upper 92,752 92,752 0 Reserved 0 0 0 Extended (XMS) 66,950,576 ? 266,870,784 ---------------- ----------- ----------- ----------- Total memory 67,698,688 ? 267,481,456 Total under 1 MB 748,112 137,440 610,672 Total Expanded (EMS) 67,108,864 (64M) Free Expanded (EMS) 16,777,216 (16M) Largest executable program size 610,656 (596K) Largest free upper memory block 0 (0K) MS-DOS is resident in the high memory area . Back to the origional problem, it is caused by the EMM386 line in your config . sys . The "x=" parameter is used to stop EMM386 from using a particular region of memory for EMS or UMB, and a quick check with "mem /d/p" confirms that the region you are excluding is the entire upper memory region . Dropping the "x=c800-dfff" should fix your problem, or you can copy the line I use above if you also need EMS memory . Don't forget to find out why it was excluded in the first place because there was probably a reason . |
bmason (508) | ||
| 87548 | 2002-10-10 18:42:00 | Excellent Brett, that explains a lot. Your formatting was good too, my pasting was rotten. A vmm32 of 35 K would also suggest Derek has a lot of real mode drivers loaded. I will try your switches for emm386 and see what happens, I havent played with them for a long time. Cheers |
Terry Porritt (14) | ||
| 87549 | 2002-10-10 19:24:00 | Brett, your comment about vmm32 is also interesting, its reported size changes according to how memory is allocated. | Terry Porritt (14) | ||
| 87550 | 2002-10-10 21:29:00 | Hi Guys, Thanx for your great help I have changed my config, . sys file as suggested which would appear on the face of it to have reduced the VMM32 in Upper mem but filled it with "system' Any comments . ? Sorry about the pasting . Modules using memory below 1 MB: Name Total Conventional Upper Memory -------- ---------------- ---------------- ---------------- SYSTEM 75,488 (74K) 20,112 (20K) 55,376 (54K) HIMEM 1,168 (1K) 1,168 (1K) 0 (0K) EMM386 4,320 (4K) 4,320 (4K) 0 (0K) DBLBUFF 2,976 (3K) 2,976 (3K) 0 (0K) WIN 3,712 (4K) 3,712 (4K) 0 (0K) vmm32 14,560 (14K) 12,816 (13K) 1,744 (2K) COMMAND 7,472 (7K) 7,472 (7K) 0 (0K) IFSHLP 2,864 (3K) 0 (0K) 2,864 (3K) Free 602,496 (588K) 602,496 (588K) 0 (0K) Memory Summary: Type of Memory Total Used Free ---------------- ----------- ----------- ----------- Conventional 655,360 52,864 602,496 Upper 59,984 59,984 0 Reserved 0 0 0 Extended (XMS) 67,047,856 ? 535,060,480 |
Derek (1260) | ||
| 87551 | 2002-10-10 22:07:00 | Hi Below is the set and results from the P350 computer which works fine!!! You will see that I have 18608 free in the upper memory and yet the config file duplicates the one on the P2000 . Incidentally everything is duplicated on the four computers! i . e . "zone alarm/nortons etc Thought this may help DEVICE=C:\WINDOWS\HIMEM . SYS DEVICE=C:\WINDOWS\EMM386 . EXE NOEMS x=c800-dfff dos=high,umb files=30 buffers=25,0 lastdrive=z fcbs=4,0 stacks 9,256 device=C:\WINDOWS\COMMAND\display . sys con=(ega,,1) Country=044,850,C:\WINDOWS\COMMAND\country . sys Modules using memory below 1 MB: Name Total Conventional Upper Memory -------- ---------------- ---------------- ---------------- SYSTEM 31,728 (31K) 10,624 (10K) 21,104 (21K) HIMEM 1,168 (1K) 1,168 (1K) 0 (0K) EMM386 4,320 (4K) 4,320 (4K) 0 (0K) DISPLAY 8,304 (8K) 8,304 (8K) 0 (0K) DBLBUFF 2,976 (3K) 2,976 (3K) 0 (0K) WIN 3,680 (4K) 3,680 (4K) 0 (0K) vmm32 17,296 (17K) 9,952 (10K) 7,344 (7K) IFSHLP 2,864 (3K) 0 (0K) 2,864 (3K) COMMAND 10,064 (10K) 0 (0K) 10,064 (10K) Free 632,736 (618K) 614,128 (600K) 18,608 (18K) Memory Summary: Type of Memory Total Used Free ---------------- ----------- ----------- ----------- Conventional 655,360 41,232 614,128 Upper 59,984 41,376 18,608 Reserved 0 0 0 Extended (XMS) 66,983,344 ? 132,780,032 ---------------- ----------- ----------- ----------- Total memory 67,698,688 ? 133,412,768 Total under 1 MB 715,344 82,608 632,736 Largest executable program size 614,112 (600K) Largest free upper memory block 18,608 (18K) MS-DOS is resident in the high memory area . |
Derek (1260) | ||
| 87552 | 2002-10-10 22:25:00 | Derek, I think one of the questions to ask is whether the DOS program requires extended or expanded memory. Bretts 'RAM' switch enables emulated expanded memory. If you have 'NOEMS' ie no expanded memory then you get only extended memory. I didnt think that expanded memory (which goes way way back to plug in memory boards on XTs) was used by dos programs these days, but I could be wrong. Also I didnt think that the AUTO switch was compatible with the RAM switch, but was used to provide expanded memory when requested by an application. It gets quite confusing! The size of vmm32 also seems to change with whether you have NOEMS or RAM, I dont think it matters as long as your DOS program runs ok, that is the important thing. It's interesting to revisit the problem of memory allocation, Im getting rusty and hadnt looked at my start up files in a long time. For windows I dont load upper memory, ( I think my emm386 in windows had crept in at some time), but for booting to dos I use dos=high,umb in autoexec, and noems with the emm386 in config. The big problem with Windows is that when you choose the 'Restart in Dos' option it doesnt load a new config.sys, only an adaption to autoexec.bat via dosstart.bat (if you have such a file). Thats why I think separate dos OR windows boots using a multiconfiguration are preferable if you are running dos programs. Thats just my opinion. I had cdrom drive conlicts at one time in Win95, between the windows protected mode driver and the real mode dos driver for the cdrom, that was why I originally went to separate boots. Must re-study this memory business again :) |
Terry Porritt (14) | ||
| 1 2 | |||||