lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV lynx 2.7.1 port


From: Klaus Weide
Subject: Re: LYNX-DEV lynx 2.7.1 port
Date: Fri, 10 Oct 1997 14:43:38 -0500 (CDT)

On Wed, 8 Oct 1997, Claudio Tantignone wrote:

> Hello:
> I finished porting lynx to Minix 386. This operating system have no virtual
> memory
> so it run in little machines. 

Are you making it available?  What version?  How much did you have to
change?

> My question is about if is possible to reduce virtual memory usage having 
> disk cache for the files, to avoid allocating huge memory for the program
> if I am
> not using it. I need to allocate arround 2 Mbytes to have it running, and
> avoid
> crashing the program if you have various documents in memory. The idea is
> that
> the program can be used in small memory machines.
> 
> Please let me know any suggestion.

What do you mean by "crashing"?  An exit(-1) via the outofmem macro or
something else?

You can restrict the number of documents cached in memory with
-cache=NUMBER and DEFAULT_CACHE_SIZE.  See also the comments in lynx.cfg
about DEFAULT_VIRTUAL_MEMORY_SIZE, which currently only applies to
VMS compiled with VAXC, but you could try to do something similar if
you can either measure or estimate the amount of used or free memory,
see function HText_new().  Maybe for that you would have to add code 
which keeps track of the (approximate) size taken up by docs in memory.

Disk caching isn't likely to happen anytime soon (unless you are going to
add it...).  Maybe there is a caching proxy available for minix?

   Klaus

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]