/usr/bin/less weird memory consumption?

Tai-hwa Liang avatar at mmlab.cse.yzu.edu.tw
Thu Apr 15 23:06:18 PDT 2004


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.


More information about the freebsd-current mailing list