Re: /usr/bin/less weird memory consumption?
From: Tai-hwa Liang (avatar_at_mmlab.cse.yzu.edu.tw)
Date: 04/17/04
- Previous message: Matthias Andree: "GCC flaw in FreeBSD5? Cone 0.58 does not compile (was: [cone] Cone 0.58 released.)"
- In reply to: Alex Vasylenko: "Re: /usr/bin/less weird memory consumption?"
- Next in thread: Jon Noack: "Re: /usr/bin/less weird memory consumption?"
- Reply: Jon Noack: "Re: /usr/bin/less weird memory consumption?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 17 Apr 2004 11:13:48 +0800 (CST) To: Alex Vasylenko <lxv@omut.org>
On Fri, 16 Apr 2004, Alex Vasylenko wrote:
> Tai-hwa Liang wrote:
> > 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.
>
> There's a memory leak. The latest less (382) doesn't have this problem.
> Use attached patch.
>
That works like a charm! Any chance would this patch being committed into
the tree?
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Matthias Andree: "GCC flaw in FreeBSD5? Cone 0.58 does not compile (was: [cone] Cone 0.58 released.)"
- In reply to: Alex Vasylenko: "Re: /usr/bin/less weird memory consumption?"
- Next in thread: Jon Noack: "Re: /usr/bin/less weird memory consumption?"
- Reply: Jon Noack: "Re: /usr/bin/less weird memory consumption?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|