<p>That makes sense, so I started a new import last night, unfortunately it failed with this error:-</p>

<p>I:\OSM>G:\planet-OSM\osm2pgsql-bin\osm2pgsql.exe --create --slim -P 5433 -d OSM -U postgres -H localhost -C 10000 --number-processes 24 --cache-strategy dense --hstore --hstore-add-index -K -G -W --extra-attributes -v I:\OSM\Full\planet-latest.osm.pb<br>
f --flat-nodes planet-full.bin -S "G:\planet-OSM\osm2pgsql-bin\default.style"<br>
osm2pgsql SVN version 0.89.0-dev (64 bit id space)</p>

<p>Password:<br>
Using built-in tag processing pipeline<br>
Using projection SRS 900913 (Spherical Mercator)<br>
Setting up table: planet_osm_point<br>
Setting up table: planet_osm_line<br>
Setting up table: planet_osm_polygon<br>
Setting up table: planet_osm_roads<br>
Allocating memory for dense node cache<br>
Allocating dense node cache in one big chunk<br>
Node-cache: cache=10000MB, maxblocks=160000*65536, allocation method=10<br>
Mid: loading persistent node cache from planet-full.bin<br>
Maximum node in persistent node cache: 0<br>
Mid: pgsql, scale=100 cache=10000<br>
Setting up table: planet_osm_nodes<br>
Setting up table: planet_osm_ways<br>
Setting up table: planet_osm_rels</p>

<p>Reading in file: I:\OSM\Full\planet-latest.osm.pbf<br>
Using PBF parser.<br>
Processing: Node(3125040k 93.3k/s) Way(0k 0.00k/s) Relation(0 0.00/s)Failed to read from node cache: Invalid argument</p>

<p>I:\OSM>PAUSE<br>
Press any key to continue . . .</p>

<p>I've checked the directories and I attached are the files that I have configured, you can see that the planet-full.bin --flat-nodes file has been created.</p>

<p>Any help is much appreciated, let me know if you need anything from me.</p>

<p>Thanks</p>

<p>Andrew</p>

<p><a href="https://cloud.githubusercontent.com/assets/1129795/11711793/e885ec94-9f20-11e5-9f60-04e5ec0ae946.png" target="_blank"><img src="https://cloud.githubusercontent.com/assets/1129795/11711793/e885ec94-9f20-11e5-9f60-04e5ec0ae946.png" alt="image" style="max-width:100%;"></a></p>

<p><a href="https://cloud.githubusercontent.com/assets/1129795/11711810/ffb03492-9f20-11e5-8660-544dd167c531.png" target="_blank"><img src="https://cloud.githubusercontent.com/assets/1129795/11711810/ffb03492-9f20-11e5-8660-544dd167c531.png" alt="image" style="max-width:100%;"></a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/osm2pgsql/issues/119#issuecomment-163550145">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7tRROKp-EssupNXlryW_xbV3mD8fks5pOT7SgaJpZM4BdyH7.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/osm2pgsql/issues/119#issuecomment-163550145"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>