This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Osm2pgsql filed due to ERROR: Index file has wrong size: (must be multiple of 8)

0

Hello,

Can you please help me understand this issue? I can't find any result in Google with this error message.

I have downloaded planet.pbf, and want to install to the database according dovumentation, in screenshot you can see the command i have executed.

My machine parameters is 6 core, 32 GB of ram, 1TB of disc. Postgis version is 2.2 Postgresql version is 9.5

Postgresql.conf tunned with this parameters

shared_buffers (2GB) maintenance_work_mem (10GB) work_mem (50MB) effective_cache_size (24GB) synchronous_commit = off checkpoint_timeout = 10min checkpoint_completion_target = 0.9

alt text

asked 26 Jul '18, 22:05

henryogg's gravatar image

henryogg
11112
accept rate: 0%

(27 Aug '18, 19:29) lonvia

Source code available on GitHub .