<p></p>
<p dir="auto">I am getting error "[0] ERROR: bad allocation" while executing osm2pgsql.<br>
Machine has 32 gb memory with 16 core. I am using below command to execute.</p>
<p dir="auto">osm2pgsql -U postgres -W -d local_ggg --output-pgsql-schema=pbf_bel_7 --latlong -H localhost -C 10480 --middle-schema=pbf_bel_7 -S default.style -r pbf --prefix=aut --log-level=debug --log-progress=true --log-sql --log-sql-data --hstore-all --extra-attributes --number-processes=1 --slim sorted.pbf</p>
<p dir="auto">using 1.6 version of osm2pgsql</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/1676">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353VHE3P3SZDGTXUTPATVLXVVRANCNFSM5W4NWIWQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353SUTNFF7GJKCVNOWX3VLXVVRA5CNFSM5W4NWIW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4SS7644Q.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/osm2pgsql/issues/1676</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/1676",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1676",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>