Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2000 03:10:06 -0700 (PDT)
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/21075: top: can't allocate sufficient memory 
Message-ID:  <200009061010.DAA82813@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/21075; it has been noted by GNATS.

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: lan@kru.ru
Cc: freebsd-gnats-submit@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, lan@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.
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009061010.DAA82813>