Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2004 09:53:46 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Cc:        freebsd-current@freebsd.org
Subject:   Re: /usr/bin/less weird memory consumption?
Message-ID:  <20040416145346.GA86444@dan.emsphone.com>
In-Reply-To: <040416140449E.61901@www.mmlab.cse.yzu.edu.tw>
References:  <040416140449E.61901@www.mmlab.cse.yzu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 16), Tai-hwa Liang said:
> 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.

Yes, I've been seeing it for a while, too, but haven't tried to track
down the cause.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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