[OSM-dev] No new planet.osm files?
Nick Whitelegg
Nick.Whitelegg at solent.ac.uk
Mon Oct 9 14:27:06 BST 2006
Please respond to SteveC <steve at asklater.com>
Sent by: dev-bounces at openstreetmap.org
To: Ralf at Zimmermann.com
cc: dev at openstreetmap.org
Subject: Re: [OSM-dev] No new planet.osm files?
* @ 08/10/06 11:24:52 PM steve at asklater.com wrote:
> I'll check tomorrow
Swap cache: add 776211, delete 776211, find 2065432/2097947, race 0+0
Out of Memory: Killed process 28432 (planet.rb).
>I think planet.rb is loading almost the entire node table in to memory
>before spitting it out.
>Nick you hacked on this right? Any way to make it row seek or something
>so it doesn't die?
I think Imi rewrote it. It *looks* (though my knowledge of Ruby is not
quite complete enough to be sure - not really sure what 'yield' does) that
it's loading all nodes into memory then writing out the SQL. It would seem
sensible to read each node in one at a time, write out the SQL then move
on to the next one.
Nick
More information about the dev
mailing list