Discussion:
Program too big to fit in memory
(too old to reply)
Vicent
2004-05-04 15:41:50 UTC
Permalink
Hi all:


First of all, my english is very poor , so I hope you take a minute in
reading this text...


I have memory problems with the next Network topology:

- An MS DOS station (ver 6.22) that is connected to the network
through TCP/IP protocol, in addition to this functions, this machine
runs an application that create the information that will be imported
by other machines. I´ve used QEMM 7.0 for optimizing memory
resources.

- A win 98 station with TCP/IP that imports information created by the
MS DOS station.

At the beggining everything runs OK, the problem appears when there
are a masive importation from MS DOS station and I exit from the
application, then the next error occurs:

"Program too big to fit in memory. Memory Allocation Error. Cannot
load
COMMAND.COM, System Halted."

At this moment, I have to restart the MS DOS station...

My config.sys is:


device=c:\qemm\dosdata.sys
DEVICE=C:\QEMM\QEMM386.SYS RAM R:1 ST:M X=C000-C3FF X=C500-C5FF
X=F800-FCFF X=FE00-FFFF
device=c:\qemm\dos-up.sys @c:\qemm\dos-up.dat
DEVICE=C:\QEMM\LOADHI.SYS /R:1 /SIZE=8880 C:\QEMM\QDPMI.SYS
SWAPFILE=DPMI.SWP SWAPSIZE=1024
buffers=10,0
files=30
dos=UMB
lastdrive=Z
FCBS=16,8
shell=c:\qemm\loadhi.com /r:3 c:\command.com c:\ /e:1024 /p
dos=HIGH
DEVICE=C:\QEMM\LOADHI.SYS /R:3 /SIZE=6240 C:\DOS\RAMDRIVE.SYS 720 256
256 /E
DEVICE=C:\DOS\ANSI.SYS
DEVICE=C:\QEMM\LOADHI.SYS /R:2 /RES=3968 /SQT=C500-C5FF /SIZE=4944
C:\NET\IFSHLP.SYS

and my autoexec.bat:

echo off
@ECHO OFF
path C:\QEMM;c:\;c:\dos;c:\net
c:\qemm\loadhi /r:3 /lo c:\dos\SMARTDRV.EXE
PROMPT $p$g
MODE CON CODEPAGE PREPARE=((437) c:\dos\EGA.CPI)
MODE CON CODEPAGE SELECT=437
KEYB SP,,c:\dos\KEYBOARD.SYS
c:\qemm\loadhi /r:3 doskey

REM LAN

c:\qemm\loadhi /r:3 /lo c:\net\net initialize
c:\net\netbind.com
c:\qemm\loadhi /r:4 /lo c:\net\umb.com
c:\qemm\loadhi /r:3 /lo c:\net\tcptsr.exe
c:\qemm\loadhi /r:0 /lo c:\net\tinyrfc.exe
c:\net\nmtsr.exe
c:\qemm\loadhi /r:4 /lo c:\net\emsbfr.exe
c:\qemm\loadhi /r:3 /lo c:\net\net start
lh c:\dos\share.exe
c:\qemm\loadhi /r:1 /lo c:\net\net share cdw=c: /full /yes
/saveshare:no


rem END LAN

cd iris
iris98




Any suggestion will be appreciated.
Thanks in advance
Vicent Vidal
Andrew
2004-06-09 15:45:49 UTC
Permalink
Post by Vicent
First of all, my english is very poor , so I hope you take a minute in
reading this text...
:)

[snip]
Post by Vicent
"Program too big to fit in memory. Memory Allocation Error. Cannot
load
COMMAND.COM, System Halted."
[snip]

If I had to hazard a guess, I would say that somewhere, something is
overwriting memory that it shouldn't be. It could be that an MCB is
being trashed, or perhaps the transient portion of COMMAND.COM is
being overwritten.

Unfortunately, trying to diagnose a problem like this using just the
contents of your init files is very difficult. Wiser heads than mine
might have a better idea of what's going wrong, however.

Ideally, I'd recommend that you start chopping out as much from your
initialization as you can. Try duplicating the problem with
HIMEM/EMM386 instead of QEMM, etc.
--
Andrew
Continue reading on narkive:
Loading...