>How-To-Repeat:
Reduce a vertical size of the window of the Xterminal up to six
strings (lines) and start /usr/bin/top.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
From: Sheldon Hearn <shel...@uunet.co.za>
To: l...@kru.ru
Cc: freebsd-gn...@freebsd.org
Subject: Re: bin/21075: top: can't allocate sufficient memory
Date: Wed, 06 Sep 2000 12:05:02 +0200
On Wed, 06 Sep 2000 00:50:48 MST, l...@kru.ru wrote:
> >Number: 21075
> >Category: bin
> >Synopsis: top: can't allocate sufficient memory
This happens because top needs 7 lines for headers. display_resize()
calculates that the number of lines available is -1 and returns this
value. As it happens, display_init() interprets this -1 return value as
a memory allocation error.
I'm downloading top-3.5beta9 to see whether this problem is fixed in
that version.
As a work-around, you can use top's -b (batch mode) option.
Ciao,
Sheldon.
Responsible-Changed-From-To: freebsd-bugs->sheldonh
Responsible-Changed-By: sheldonh
Responsible-Changed-When: Wed Sep 6 03:58:56 PDT 2000
Responsible-Changed-Why:
I'll manage this one.
http://www.freebsd.org/cgi/query-pr.cgi?pr=21075