<p>I try to import latest planet file with this command:<br>
<code>osm2pgsql --slim -d gis -C 39000 --number-processes 8 /usr/local/share/maps/planet/planet-latest.osm.pbf</code><br>
and I'm constantly get error below:</p>

<blockquote>
<p>Processing: Node(3427133k 236.6k/s) Way(96936k 22.86k/s) Relation(0 0.00/s)Zlib compression failed (code -3, too many length or distance symbols)<br>
Error occurred, cleaning up</p>
</blockquote>

<p>I have ubuntu 16.04 with 40G ram and 8 cpu cores.<br>
any clue what might be the problem?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/604">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AD2-7uqUqECAkif5jaEYVLtt4zIrwMuGks5qU5fZgaJpZM4JKZjW">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7iuqU0Sn_NYYwMXh2hLdQFyIkjd8ks5qU5fZgaJpZM4JKZjW.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/604"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>