I downloaded the 72 GB OpenStreetMap PBF file (planet-230619.osm.pbf) at this link https://planet.osm-hr.org/pbf/ and I am trying to import it into PostgreSQL + PostGIS with the library osm2pgsql version 1.8.1.
The application crashed in this situation:
Processing: Node(4539260k 1044.7k/s) Way(0k 0.00k/s) Relation(0 0.0/s)
ERROR: bad allocation
System info:
- OS Name: Microsoft Windows Server 2012 R2 Standard
- Processor: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz, 2401 Mhz, 6 Core(s), 12 Logical Processor(s)
- RAM: 16 GB
- SSD: 160 GB (free space)
How can I make it work?