Re: /usr/bin/less weird memory consumption?

From: Tim Robbins (tjr_at_freebsd.org)
Date: 04/18/04

  • Next message: Adam C. Migus: "Re: VLAN support in rcNG [PATCH]"
    Date: Sun, 18 Apr 2004 13:55:10 +1000
    To: Alex Vasylenko <lxv@omut.org>
    
    

    On Fri, Apr 16, 2004 at 10:38:31PM -0400, 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.

    Thanks for pointing this out. I've imported less 381, which fixes the
    memory leak.

    Tim
    _______________________________________________
    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"


  • Next message: Adam C. Migus: "Re: VLAN support in rcNG [PATCH]"

    Relevant Pages

    • Re: Firefox and Mozilla memory usage issues
      ... > Is this is know issue with Mozilla and Firefox? ... > this called memory leak? ... > Mozilla or does Debian has to do something with it? ...
      (Debian-User)
    • Re: /usr/bin/less weird memory consumption?
      ... Tai-hwa Liang wrote: ... > Debian doesn't seem to have such problem, ... There's a memory leak. ...
      (freebsd-current)
    • 2.6.13.3 Memory leak, names_cache
      ... I'm having a problem with a memory leak in the kernel. ... Soon after booting up names_cache starts growing until it ... consumes all available memory on the system until the oom killer goes ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 34/44] Fix a memory leak in ns558.c
      ... Fix a memory leak in ns558.c ... files changed, 1 insertion(+) ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.5-rc1-mm1
      ... A memory leak was introduced in the ext3 changes. ... files changed, 8 insertions(+) ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)