[Prev][Next][Index][Thread]

Re: 1.99 Memory



>>>>> "Fred" == Fred Salerno <salernof@gate.net> writes:

    Fred> Ever since 1.99l or so, I have not been able to run Executor
    Fred> with EMM loaded unless i specify a smaller applzone. Its
    Fred> default always said "not enough memory, try a smaller
    Fred> applzone" I have 12 megs of memory.

Starting with 1.99n, we've added a "-info" switch.  If you could run
Executor with "-info" with various combinations of "-applzone", that
might help us figure out what's going on.

    Fred> However, if I remove 4 megs of it and only have 8 megs, its
    Fred> default applzone works fine... Is there a bug in its formula
    Fred> to dtermine how much to set for its applzone?

The formula is pretty straightforward.  It looks at how much free DPMI
memory you have after Executor's already been loaded (Executor takes
about 1.5 MB of DPMI memory right off the top, no matter what else is
done), then it divides that number in two and uses the result, unless
the result is less than 2 MB, in which case it uses 2 MB or > 16 MB,
in which case it uses 16 MB.

However, it could be that EMM is not very smart and EMM may need disk
space for the DPMI memory that is being used, even if there's enough
physical memory to hold it all.  If that's the case, and you're low on
disk space, then the scenario you describe might make sense, since
Executor with 12 MB to start with, Executor would use a default
applzone size of (12 - 1.5) / 2 = 5.25 MB, but with 8 MB to start with
Executor would use a default applzone size of (8 - 1.5) / 2 = 3.25 MB.

However, if you're not tight on disk space, I don't know what is going
on, but using "-info" and telling us what's happening will probably
help.

    Fred> Now I have 16 megs and it seems to guess its applzone fine.

Hmmm... did you maybe clean up some disk space when you added memory?

	--Cliff
	ctm@ardi.com


Follow-Ups: References: