<blockquote>
<p>I also did encounter another issue with --flat-nodes, when flat nodes is set the node file suddenly becomes 15gb in size, then osm2pgsql crashes. </p>
</blockquote>

<p>The flat nodes file is supposed to be about this size, or more precisely, about max(node_id) * 8 bytes.</p>

<p>In any case, it sounds like the issue this ticket is about is resolved.</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/117#issuecomment-33619444'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/4046574__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNjU1NTkyMywiZGF0YSI6eyJpZCI6MjQxMTIxNDJ9fQ==--c9dfa5dfebe9d08d9b3ab1c897d0fe491923dbd4.gif' height='1' width='1'></p>