<p>Oh, I think I misinterpreted what you meant by your second comment. I was under the impression that introducing this limit somehow would have a negative impact on an import without flatnodes.</p>
<p>As you said, it's quite the opposite, adding the limit is essential to avoid an OoM condition, and there's not much point increasing this value, let alone make it user configurable. Thank you for clarifying this.</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/pull/960?email_source=notifications&email_token=AA6353WDFCFZNFFJ6GAW4TTQOTR73A5CNFSM4JATFEWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBGVT3Q#issuecomment-541940206">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353UFXRXVXZZB47U6DULQOTR73ANCNFSM4JATFEWA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353XDKP6XLEDMQTXBNL3QOTR73A5CNFSM4JATFEWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBGVT3Q.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/pull/960?email_source=notifications\u0026email_token=AA6353WDFCFZNFFJ6GAW4TTQOTR73A5CNFSM4JATFEWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBGVT3Q#issuecomment-541940206",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/960?email_source=notifications\u0026email_token=AA6353WDFCFZNFFJ6GAW4TTQOTR73A5CNFSM4JATFEWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBGVT3Q#issuecomment-541940206",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>