<p></p>
<blockquote>
<ul dir="auto">
<li>The <code class="notranslate">--cache/-C</code> setting has been ignored in non-slim mode for a while.</li>
</ul>
</blockquote>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/joto/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/joto">@joto</a>, does this remark mean the cache setting is truly <em>completely ignored</em> when running in non-slim mode, so setting it or not will not do anything?</p>
<blockquote>
<ul dir="auto">
<li>TODO: Add warning when running osm2pgsql in that case that cache setting is ignored.</li>
</ul>
</blockquote>
<p dir="auto">Am I right this is still on your TODO list? I yesterday attempted a (successful) Planet import in non-slim mode, but I set a large --cache value based on the remark quoted below regarding non-slim mode needing to also store ways and relations, in <a href="https://osm2pgsql.org/doc/manual.html#caching" rel="nofollow">this section of the osm2pgsql manual</a>, but no such warning showed up with osm2pgsql version 1.8.1</p>
<blockquote>
<p dir="auto">In --slim mode, this is just node positions while in non-slim mode <strong><em>it has to store information about ways and relations too</em></strong>.</p>
</blockquote>
<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/1501#issuecomment-1638749194">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353VE7A4R7BT2EKFHSALXQWHNFANCNFSM446ZYPPA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353UUJCE4IBM4EQ4YRFTXQWHNFA5CNFSM446ZYPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOMGWVICQ.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/1501/1638749194</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/1501#issuecomment-1638749194",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1501#issuecomment-1638749194",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>