tech-userlevel archive

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

Re: odd awk memory leak?



mouse%Rodents-Montreal.ORG@localhost (Mouse) writes:

>actually crash on 5.2.  (On 5.2, it blows past its soft datasize limit
>and just keeps on growing, whereas on 4.0.1 it fails with an
>out-of-memory error when it hits its datasize limit.)

That's an effect of the changed malloc implementation that no longer
takes memory from the 'data segment'.

>So, I'm tentatively considering this a bug in awk.

The memory leak seems to be in gensub().



Home | Main Index | Thread Index | Old Index