<p></p>
<p dir="auto">Thanks, joto, I will read through the documentation to get more familiar with this. Originally, I was running the docker import script without the additional "-e" parameters and had the problem. I've been able to import regions like North America without a problem using the basic docker script. That said, most desktop PC's don't have 64G RAM, as is recommended in the osm2pgsql manual for importing the planet file. The problem, based on the error comes when osm2pgsql is parsing/uncompressing the .pbf file. Since hard drive storage is much easier to obtain these days. Is there any way to have a script that uncompresses the .pbf file onto, say a 1 or 2 TB disk and then loads the data into postgresql instead of requiring 64G of memory? I realize I'm speaking without familiarity of how the program works and why the high RAM usage is necessary. So, in the meantime, I'm trying again by increasing the swap space to well over 64G to see if that helps.</p>
<p dir="auto">If that doesn't work, and I want the equivalent of the entire planet in my database, should I just import data, region by region?</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/issues/1582#issuecomment-971605738">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353VYZ7ZRENXTQWENJFLUMOYBHANCNFSM5IFKNN2Q">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/AA6353XEUQNXXBTPJPSM7SDUMOYBHA5CNFSM5IFKNN22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHHUYN2Q.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/issues/1582#issuecomment-971605738",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1582#issuecomment-971605738",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>