bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory allocation problem with latest gawk - new testcase


From: Stanislav Ievlev
Subject: Re: Memory allocation problem with latest gawk - new testcase
Date: Thu, 3 Apr 2003 15:00:21 +0400

On Thu, Apr 03, 2003 at 02:55:15PM +0400, Stanislav Ievlev wrote:
> > the tons of realloc's gracefully.
> 
> Problem #2: memory leak (works both on 2.2.x and 2.4.x kernels)
> 
> $(ulimit -Sv 16384 && time gawk '/.*/ {;}' /dev/zero)
> gawk: cmd. line:2: fatal: grow_iop_buffer: iop->buf: can't allocate 16777218 
> bytes of memory (Cannot allocate memory)
> 0.03user 0.00system 0:00.12elapsed 24%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (186major+75minor)pagefaults 0swaps

Note:
this testcase works as expected (endless loop) with gawk 3.1.1.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]