<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>geo-map memory hole? &amp;quot;cannot allocate&amp;quot; [solved]</title>
        <description> Trying to build another map, now on my Squeeze system, I repeatedly get the following:

/home/steve8x8/bin/geo-map: xrealloc: ../bash/subst.c:4952: cannot allocate 1073741824 bytes (2148745216 bytes allocated)

This is a 2000x1600 map - nothing to worry about, I'd like to think. It worked with Lenny.

Full command line is:
geo-map -c -g 3 -abasemap-homezone.png -omap-homezone.png -ttiger -i -s15000 -W2000 -H1600 52.38 13.02

Adding &amp;quot;-D3&amp;quot; gives no additional information (trying -D5 now: same result).

Any suggestions how to proceed?</description>
        <link>http://geo.rkkda.com/forum/read.php?5,435,435#msg-435</link>
        <lastBuildDate>Wed, 22 May 2013 18:48:19 -0400</lastBuildDate>
        <generator>Phorum 5.2.19</generator>
        <item>
            <guid>http://geo.rkkda.com/forum/read.php?5,435,452#msg-452</guid>
            <title>Re: geo-map memory hole? &quot;cannot allocate&quot;</title>
            <link>http://geo.rkkda.com/forum/read.php?5,435,452#msg-452</link>
            <description><![CDATA[ committed.]]></description>
            <dc:creator>rickrich</dc:creator>
            <category>General Topics</category>
            <pubDate>Fri, 20 Aug 2010 16:20:07 -0400</pubDate>
        </item>
        <item>
            <guid>http://geo.rkkda.com/forum/read.php?5,435,451#msg-451</guid>
            <title>Re: geo-map memory hole? &quot;cannot allocate&quot;</title>
            <link>http://geo.rkkda.com/forum/read.php?5,435,451#msg-451</link>
            <description><![CDATA[ It is indeed a Squeeze issue, but it hid somewhere where I expected it last:<br />
The output of &quot;file x.png&quot; is slightly different, it's no longer &quot;PNG image&quot; but &quot;PNG image data&quot;, thus confusing the parsing code.<br />
<br />
The attached two-line patch fixes this - it replaces a &quot;tr -d&quot; by a &quot;cut&quot; operation, and shortens a &quot;read&quot;. Should be no additional CPU burden (compared to convert).<br />
<br />
Rick, can you add this?<br />
<br />
Edit: patch against geo-map.sh]]></description>
            <dc:creator>Steve8x8</dc:creator>
            <category>General Topics</category>
            <pubDate>Fri, 20 Aug 2010 13:42:19 -0400</pubDate>
        </item>
        <item>
            <guid>http://geo.rkkda.com/forum/read.php?5,435,439#msg-439</guid>
            <title>Re: geo-map memory hole? &quot;cannot allocate&quot;</title>
            <link>http://geo.rkkda.com/forum/read.php?5,435,439#msg-439</link>
            <description><![CDATA[ Can we get a bit into detail? It obviously happens inside tiger2vct which is awk code, and it happens with both mawk and gawk... I'd be happy to file a bug report if I knew against which binary/package.<br />
<br />
Any suggestions to track this down are welcome.<br />
Am I the only Squeeze user around?]]></description>
            <dc:creator>Steve8x8</dc:creator>
            <category>General Topics</category>
            <pubDate>Wed, 04 Aug 2010 08:56:58 -0400</pubDate>
        </item>
        <item>
            <guid>http://geo.rkkda.com/forum/read.php?5,435,438#msg-438</guid>
            <title>Re: geo-map memory hole? &quot;cannot allocate&quot;</title>
            <link>http://geo.rkkda.com/forum/read.php?5,435,438#msg-438</link>
            <description><![CDATA[ Its a problem in squeese.]]></description>
            <dc:creator>rickrich</dc:creator>
            <category>General Topics</category>
            <pubDate>Wed, 04 Aug 2010 07:56:24 -0400</pubDate>
        </item>
        <item>
            <guid>http://geo.rkkda.com/forum/read.php?5,435,437#msg-437</guid>
            <title>Re: geo-map memory hole? &quot;cannot allocate&quot;</title>
            <link>http://geo.rkkda.com/forum/read.php?5,435,437#msg-437</link>
            <description><![CDATA[ Just a final (?) addition:<br />
even without a &quot;-t input&quot; file, only trying to add marks with &quot;-c -g 1&quot;, there's a single-line input to tiger2cvt<br />
13.02,52.38^cross,red,10^52.22.800 13.01.200^NONE^52.22.800 13.01.200<br />
resulting in a slowly growing output file (I interrupted at 1GB), with no &quot;text&quot; keyword inside (AFAICT).<br />
Mysterious, since the ChangeLog doesn't list any geo-map changes.]]></description>
            <dc:creator>Steve8x8</dc:creator>
            <category>General Topics</category>
            <pubDate>Wed, 04 Aug 2010 07:52:43 -0400</pubDate>
        </item>
        <item>
            <guid>http://geo.rkkda.com/forum/read.php?5,435,436#msg-436</guid>
            <title>Re: geo-map memory hole? &quot;cannot allocate&quot;</title>
            <link>http://geo.rkkda.com/forum/read.php?5,435,436#msg-436</link>
            <description><![CDATA[ Update: running &quot;bash -x geo-map ...&quot; show that processing stops at the 500th entry of the (much longer) tiger file, last output to screen is<br />
    ++ (( i &lt; Npts &amp;&amp; i &lt; e ))<br />
(while loop, line 2231 of geo-map.sh)<br />
<br />
Reducing the number of lines to 5, the behaviour is the same (stop at last line).<br />
<br />
The loop itself seems to be OK (its exited when running out of input=, but adding some tee commands to the pipe shows that &quot;tiger2cvt&quot; 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 <br />
    -fill red -draw &quot;rectangle 0,626 -1,627&quot;<br />
stuff (with individual number going up to beyond 1 million), then followed by an endless sequence of<br />
    -fill red -draw &quot;rectangle 0,0 0,-1&quot; -fill red -draw &quot;rectangle 0,0 -1,0&quot;<br />
Since this is written to a pipe it will eat up all available swap.<br />
<br />
I have replaced mawk with gawk (remembering that non-gawk awks might cause trouble), no change.<br />
<br />
Running out of my wits.]]></description>
            <dc:creator>Steve8x8</dc:creator>
            <category>General Topics</category>
            <pubDate>Wed, 04 Aug 2010 07:05:53 -0400</pubDate>
        </item>
        <item>
            <guid>http://geo.rkkda.com/forum/read.php?5,435,435#msg-435</guid>
            <title>geo-map memory hole? &quot;cannot allocate&quot; [solved]</title>
            <link>http://geo.rkkda.com/forum/read.php?5,435,435#msg-435</link>
            <description><![CDATA[ Trying to build another map, now on my Squeeze system, I repeatedly get the following:<br />
<br />
/home/steve8x8/bin/geo-map: xrealloc: ../bash/subst.c:4952: cannot allocate 1073741824 bytes (2148745216 bytes allocated)<br />
<br />
This is a 2000x1600 map - nothing to worry about, I'd like to think. It worked with Lenny.<br />
<br />
Full command line is:<br />
geo-map -c -g 3 -abasemap-homezone.png -omap-homezone.png -ttiger -i -s15000 -W2000 -H1600 52.38 13.02<br />
<br />
Adding &quot;-D3&quot; gives no additional information (trying -D5 now: same result).<br />
<br />
Any suggestions how to proceed?]]></description>
            <dc:creator>Steve8x8</dc:creator>
            <category>General Topics</category>
            <pubDate>Wed, 04 Aug 2010 04:38:35 -0400</pubDate>
        </item>
    </channel>
</rss>
