<p>Tried increasing stack size from 30Mb to 300Mb (/STACK linker option) - memory consumption is twice higher, but the errors are the same - always inside or after get_wkt_split . Maybe my geos 3.5.0 from git is buggy... </p>
<p>Debbuging showed that the node and tag lists are small at the breaking point (5-8 node ways with ~4 tags) and coordinate sequences seem to be OK. I can not see any common data used. All the workers seem to be still running (tried to add pritnf and breakpoint after w.get() in process_ways()), so there are no destruction-related errors too.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/osm2pgsql/pull/498#issuecomment-155127471">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7uNQDGO5Un9_0hynorwGEX0IgLdvks5pEMqVgaJpZM4GeIs1.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/pull/498#issuecomment-155127471"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>