<p>This problem still occurs I'm getting this error:-</p>

<p>G:\planet-OSM\osm2pgsql-bin>osm2pgsql -c -s -P 5433 -d OSM -W -U postgres -H loc<br>
alhost --flat-nodes "I:\OSM\Full\flat_nodes.bin" -C 10000 --number-processes 24<br>
-k -S openstreetmap-carto.style -G "I:\OSM\Full\planet-latest.osm.pbf" -v<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 sparse node cache<br>
Node-cache: cache=10000MB, maxblocks=160000*65536, allocation method=9<br>
Mid: loading persistent node cache from I:\OSM\Full\flat_nodes.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(3077310k 1173.2k/s) Way(0k 0.00k/s) Relation(0 0.00/s)Failed to<br>
 read from node cache: Invalid argument</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-158349148">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7i5--wjohk9fawLOTzQzkYEQJsd4ks5pHuuWgaJpZM4BdyH7.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-158349148"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>