Re: geo-map memory hole? "cannot allocate"
Date: August 04, 2010 07:05AM
Update: running "bash -x geo-map ..." show that processing stops at the 500th entry of the (much longer) tiger file, last output to screen is
++ (( i < Npts && i < e ))
(while loop, line 2231 of geo-map.sh)
Reducing the number of lines to 5, the behaviour is the same (stop at last line).
The loop itself seems to be OK (its exited when running out of input=, but adding some tee commands to the pipe shows that "tiger2cvt" doesn't stop creating output - it should place a single (red) cross at the center, and some blue dots according to the input, but the output generated is full of
-fill red -draw "rectangle 0,626 -1,627"
stuff (with individual number going up to beyond 1 million), then followed by an endless sequence of
-fill red -draw "rectangle 0,0 0,-1" -fill red -draw "rectangle 0,0 -1,0"
Since this is written to a pipe it will eat up all available swap.
I have replaced mawk with gawk (remembering that non-gawk awks might cause trouble), no change.
Running out of my wits.
--------------------
My geo-* {patches,mirror,history} went offline Oct 1, 2010! Sorry guys...