Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

incorrect size for type - 21gb file size #33

Open
benpetsch opened this issue Feb 23, 2018 · 2 comments
Open

incorrect size for type - 21gb file size #33

benpetsch opened this issue Feb 23, 2018 · 2 comments

Comments

@benpetsch
Copy link

Tried to parse 21gb europe.osm.pbf

ends with error:

2018/02/23 13:22:21.742922 [WARN] Non-empty /data/valhalla/2 will be purged of tiles
2018/02/23 13:22:22.961088 [INFO] Parsing files: d
2018/02/23 15:44:04.893466 [INFO] Finished with 51415903 routable ways containing 514
2018/02/23 15:59:05.821170 [INFO] Finished with 51415903 routable ways containing 514441587 nodes
2018/02/23 15:59:05.821202 [INFO] Sorting
2018/02/23 16:14:29.174705 [INFO] Finished with 440142 simple restrictions
2018/02/23
2018/02/23 16:29:51.573276 [INFO] Finished with 440142 simple restrictions
2018/02/23 16:29:51.573367 [INFO] Finished with 4 lane connections
2018/02/23 16:29:51.581615 [INFO] Sorting complex restrictions by from id...
2018/02/23 16:29:51.594421 [INFO] Sorting osm way node references by node id...
terminate called after throwing an instance of 'std::runtime_error'
  what():  This file has an incorrect size for type
@kevinkreiser
Copy link
Member

did you run out of space on the device? that error happens you try to memory map a file and the files size doesnt match the size of the objects that should be in the file (ie the size isnt a multple of the objects that should be in there).

@aparnagottumukkala
Copy link

how to pass custom osm.pbf file from github, valhalla.json(newly generated is not giving the output so i have custom json for the pbf file) to this dockerfile

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants