<p></p>
<p dir="auto">In the <a href="https://osm2pgsql.org/doc/man/latest.html" rel="nofollow">man page of osm2pgsql</a> it is written that -C option should be used only when in slim mode</p>
<blockquote>
<p dir="auto">-C, --cache=NUM<br>
Only for slim mode: Use up to NUM MB of RAM for caching nodes.</p>
</blockquote>
<p dir="auto">But it can be used alone and it helps to go over the 800MB threshold and be very useful to import big amount of data without using the slim mode which is very slow. I don't understand why it is mentionned "only for slim mode". Shouldn't it be removed ?</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/discussions/1588">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353TL7I65QTUVP6ZYGWDUPTNZLANCNFSM5JO763FA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AA6353WPZ67J6N7O3KJ6G6TUPTNZLA5CNFSM5JO763FKYY3PNVWWK3TUL52HS4DFVJCGS43DOVZXG2LPN2VGG33NNVSW45C7NFSM4ABY3H3A.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/discussions/1588",
"url": "https://github.com/openstreetmap/osm2pgsql/discussions/1588",
"name": "View Discussion"
},
"description": "View this Discussion on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>