From owner-freebsd-current@FreeBSD.ORG Thu Apr 15 23:06:18 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4672416A4CE for ; Thu, 15 Apr 2004 23:06:18 -0700 (PDT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.145.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0266443D46 for ; Thu, 15 Apr 2004 23:06:18 -0700 (PDT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 4370E4EFCD0; Fri, 16 Apr 2004 14:06:13 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 3A7C04EFCCF for ; Fri, 16 Apr 2004 14:06:13 +0800 (CST) Date: Fri, 16 Apr 2004 14:06:13 +0800 (CST) From: Tai-hwa Liang To: freebsd-current@freebsd.org Message-ID: <040416140449E.61901@www.mmlab.cse.yzu.edu.tw> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Fri, 16 Apr 2004 04:59:38 -0700 Subject: /usr/bin/less weird memory consumption? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 06:06:18 -0000 Hi, Anyone tried to view a file contains *hugh* line with /usr/bin/less in -CURRENT? Sample file: dd if=/dev/zero bs=512 count=1500 | tr '\00' ' ' > test.txt On my -CURRENT box cvsup'd this morning, "/usr/bin/less text.txt" consumes about 511 MBytes of memory(see 'top'). -STABLE(less 358) and less 381 on Debian doesn't seem to have such problem, though.