[Prev][Next][Index][Thread]
Re: E/L runs out of memory
>>>>> "Phil" == Phil Hunt <phil@isone.com> writes:
Phil> On Fri, 29 Mar 1996, Mat Hostetter wrote:
>> OK, this is now implemented. Under Linux, your default
>> -applzone will now be 1/4 of total physical memory (as reported
>> by /proc/meminfo) or 2MB, whichever is higher.
Phil> watch out! Not all Linux boxes implement /proc. It is a
Phil> kernel sysgen question, that defualts to yes.
Thanks for the warning, but the way I wrote it should be robust. If
Executor fails to open /proc/meminfo, or fails to find a "Mem:" entry,
it defaults to the old behavior (2MB applzone). I haven't tested
that, since all of our Linux boxes have /proc, but the code is very
simple.
As under DOS, "executor -info" under Executor/Linux will tell you how
much memory Executor decided to allocate for you.
-Mat
References: