[OSM-dev] Improving the /map call with cursors

Stefan de Konink stefan at konink.de
Tue Feb 24 20:32:35 GMT 2009


Richard Fairhurst wrote:
> In brief, one of the performance problems we have is that when you ask  
> for all the data within an bbox, Rails retrieves all the nodes from  
> the db in one hit, creating an object for every single node. If you  
> have 5000 nodes in one bbox, that's quite a memory footprint.

Could you please elaborate on this footprint? Even if an object is 1k we 
are talking about 5MB of memory at once; that is peanuts comparing it to 
the actual running process.


Stefan




More information about the dev mailing list