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 |
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. answered 23 Jun '11, 18:51 Andy Allan emj |