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

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

Re: gawk error


From: Aharon Robbins
Subject: Re: gawk error
Date: Wed, 7 Mar 2001 10:45:50 +0200

Greetings. Re this:

> From: "Shaji Philip" <address@hidden>
> To: address@hidden
> Cc: address@hidden
> Subject: gawk error
> Date: Tue, 06 Mar 2001 18:02:59 -0000
>
> Hi
>
> I tried to parse a large file using gawk. Inside gawk the script
> will store values into several arrays. But while running the script
> its giving error like
> gawk: cmd. line:176: fatal: tree_eval: str: can't allocate memory (Not 
> enough space)
>
> When I used nawk the error is
> nawk: out of space ..........
> source line number 86
>
> I tried using a comparatively small size file and it was working fine.
>
> Can you give me some idea to resolve this.
>
> Thanks in advance
>
> Shaji

You need to buy more RAM for your computer, or add more swap space.
Neither awk could allocate enough memory for whatever it is your
program is trying to do.

If that's not an option, split your data into pieces and do your
processing in multiple phases.

Good luck,

Arnold
--
Aharon (Arnold) Robbins --- Pioneer Consulting Ltd.     address@hidden
P.O. Box 354            Home Phone: +972  8 979-0381    Fax: +1 603 761-6761
Nof Ayalon              Cell Phone: +972 51  297-545    (See www.efax.com)
D.N. Shimshon 99785     Laundry increases exponentially in the
ISRAEL                  number of children. -- Miriam Robbins



reply via email to

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