<p></p>
<p>First: The osm2pgsql version you are using is waaay to old. Please use the <a href="https://github.com/openstreetmap/osm2pgsql/releases/tag/1.3.0">current release 1.3.0</a></p>
<p>Second: You need to tune your database. The <a href="https://osm2pgsql.org/doc/manual.html#tuning-the-postgresql-server" rel="nofollow">section in the manual</a> isn't finished yet, but this should give you some ideas.</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/1300#issuecomment-716203460">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353QBYAQMLJC6APG3SR3SMR74HANCNFSM4S6MMFAQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353WHWCCGEDRY7XSC4STSMR74HA5CNFSM4S6MMFA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFKYGLRA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/1300#issuecomment-716203460",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1300#issuecomment-716203460",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>