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

Re: Memory question



>>>>> "Richard" == Richard Frey <frey@birch.crd.ge.com> writes:

    Richard> I do an executor -info command and executor reports:

    Richard> 5.43 Meg of Potentially useful DPMI Memory
    Richard> and assigns the memory as follows:
    Richard> applzone	2.71 Meg
    Richard> syszone		0.5  Meg
    Richard> Stack		0.25 Meg
    Richard> I presume this all comes out of the 5.43 total it found.

    Richard> What happened to all the rest of the memory?  Is Executor
    Richard> itself using it?  That's 1.7 Meg and 5.43 + 1.7 still
    Richard> only adds up to 7.13.  It would seem there should be a
    Richard> total memory of 7.36 M + 594 K unused and available.

    Richard> How does Executor do memory allocation under DOS?

As you surmised, the Executor binary itself takes RAM, as do some
other miscellaneous pieces of memory that it allocates.  The Executor
binary will take a little more memory than the size of the disk image
once it's been loaded into RAM.

cwsdpmi.exe does not, by default, use your conventional memory.
Fortunately, this is a configurable setting so I plan to release a
cwsdpmi.exe that will take advantage of your conventional memory as
well as your extended/expanded memory.  That should be especially
helpful for low memory systems.

-Mat


References: