<p></p>
<p dir="auto">Segmentation faults are almost always a sign of not having enough memory. Especially with this happening later in the process when you used a bigger machine. Figuring out how much memory something will use or is using is not straightforward. It might well be that everything looks fine and the next thing the program needs twice as much memory as before. So I`d recommend testing with a larger machine.</p>
<p dir="auto">You can also try with <code class="notranslate">--disable-parallel-indexing --number-processes=1</code>. This will make osm2pgsql do less stuff at the same time possibly reducing its memory footprint somewhat. (But processing will take longer.)</p>
<p dir="auto">That being said, of course there could be a different problem there. If you want to pursue this, create a debug build and look at the core dump created by the segmentation fault, specifically we need to backtrace do diagnose further.</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/2079#issuecomment-1720817537">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353RGRAHKSNKNUK6UV7DX2QAQNANCNFSM6AAAAAA4X4VDBI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353QD4XFASDWAQMLXJRDX2QAQNA5CNFSM6AAAAAA4X4VDBKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTGSGLYC.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/2079/1720817537</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/2079#issuecomment-1720817537",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/2079#issuecomment-1720817537",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>