/usr/bin/less weird memory consumption?

From: Tai-hwa Liang <avatar_at_mmlab.cse.yzu.edu.tw>
Date: Fri, 16 Apr 2004 14:06:13 +0800 (CST)
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.
Received on Thu Apr 15 2004 - 21:06:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:51 UTC