[Top][All Lists]

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

Re: lynx-dev can't interrupt "LIST" command

From: Leonid Pauzner
Subject: Re: lynx-dev can't interrupt "LIST" command
Date: Fri, 31 Dec 1999 01:22:55 +0300 (MSK)

30-Dec-99 10:23 Bela Lubkin wrote:
> Using Lynx 2.8.3dev.9, which I realize is a bit out of date.  Tell me if
> this has already been fixed...

> I'm looking at a page that has about 48000 links on it.  I hit the 'L' =
> "LIST" command, just out of curiousity.  Lynx handles it very well
> (process grows to 27MB in core, gets progressively slower, but doesn't
> fail).  However, I get bored with watching the growth of the temp file
> from another window, and try to abort out.  Lynx ignores both 'z' and
> '^G' = "INTERRUPT" keys.  I get to wait about 10 minutes for it to
> finish writing its temp file; *then* it processes the pending interrupt
> and only shows me the first page or so of the List Page.

> (And then I hit '^R' = "RELOAD", and I'm still waiting for that to
> finish.  Silly me.  Process is up to 51MB in size and has only read
> about half of the 14MB file ... looks like it's actually going to push
> my 128MB system to start swapping before it finishes...)

> So anyway, it seems that "LIST" should have an explicit user interrupt
> check -- maybe once every hundred links or so.

> (update: it's now 12MB into the 14MB temp file, process is 74MB, and
> still plugging along.  wheee!)


Aside from interruption issue, 6:1 ratio seems too memory consuming for
such a simple task. Could this be improved?

According to CHANGES, lynx with color styles use nearly 30:1 ratio
before dev14, but now it claims around 5:1

1999-11-03 (2.8.3dev.14)
* implemented HTStyleChange pooling - sizeof(HTStyleChange) is 4 times smaller
  than before, and only necessary number of stylechanges is allocated now,
  instead of some constant (1024 by default) -VH

  + users of lss-enabled lynx should consider on upgrading the lynx - at least
    those who use lynx for viewing huge files.  By default, each line on the
    screen took 1K for colorstyles (on x86).  With new approach colorstyle
    changes take 24 bytes (on x86) per line in average document.  Old lynx with
    900K html file loaded as startfile occupied 30M of virtual memory, lynx
    with patch applied occupied 5 Mb on the same file.  Old code is still
    accessible by defining OLD_STYLECHANGE.

reply via email to

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