[LispM-Hackers] Outageness

Robert Swindells rjs@fdy2.demon.co.uk
Sat, 23 Feb 2002 10:57:15 GMT


James A. Crippen wrote:
>Nyef <nyef@softhome.net> writes:
>> While unlambda was gone I noticed that E3 is allocating _four times_ as
>> much memory as it needs during startup (compare the size of an instance of
>> e3MemMap to the size of the load band), which runs my system close to out
>> of swap space (possible fixes include: doing a check against the different
>> memory regions, emulating part of the memory management hardware (page
>> hash table and such), (ab)using the UN*X mmap() syscall, and simply
>> declaring it a feature).

>mmap() is Not Allowed because it's not portable to, say, PalmOS.  Or
>(possibly) to Windows.  It's too un*x specific.

There is a Win32 equivalent of mmap that works fine. I can provide an
example if it allows us to use mmap() under UNIX.

Data is in memory anyway on PalmOS, but you would run into the 32k limit
on an individual record long before you hit any other limits.

Robert Swindells