bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Memory leak


From: arnold
Subject: Re: [bug-gawk] Memory leak
Date: Wed, 29 Mar 2017 13:56:43 -0600
User-agent: Heirloom mailx 12.4 7/29/08

"Andrew J. Schorr" <address@hidden> wrote:

> You might need to run valgrind with --leak-check=full --show-reachable=yes to
> get to the bottom of this. I don't see any obvious leaks when I run that on 
> the
> 344-record file that you sent.

That would be helpful.

I ran gawk on a ~ 20 megabyte file and it hit a steady size as shown by
top. I think that there aren't any real leaks here. Valgrind is generally
good about reporting real leaks as "definitely lost" and I have yet to
see that in this instance.

It may be that we could reduce gawk's memory usage for arrays, but
that's a different issue from a leak.

Thanks,

Arnold



reply via email to

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