NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

For slim mode, how much RAM is ideal for an import?

In non-slim mode, how much is likely to be needed in all?

Obviously, the more data in a .osm file, the more memory that will be needed, so what I'm looking for is an answer along the lines of, "xMB per thousand nodes, yMB per thousand ways" or "such and such based on the highest node ID".

asked 22 Jun '11, 19:21

asciiphil's gravatar image

asciiphil
36113
accept rate: 0%


For slim mode you can use as much or as little RAM as you like, but I wouldn't try anything under 1Gb. For a planet file you will find more RAM makes everything go faster up to at least 24GB if not further. The RAM functions as a cache for the nodes data that's repeatedly needed for constructing the ways and relations - if the node isn't in RAM it'll be fetched from disk with is much slower.

For non-slim mode, you have hard limits since there is no intermediate disk store for the nodes. A full planet import in non-slim mode currently requires about 40 Gb of RAM.

permanent link

answered 23 Jun '11, 18:51

Andy%20Allan's gravatar image

Andy Allan
12.5k23128153
accept rate: 28%

edited 27 Jun '11, 05:43

emj's gravatar image

emj
2.0k123547

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×263
×15

question asked: 22 Jun '11, 19:21

question was seen: 7,756 times

last updated: 27 Jun '11, 05:43

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum