You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, the code that handles the import does not really scale to files of that size. :-)
What should be used instead of hand-rolled code is something like http://osmcode.org/libosmium/
The code isn't bad at all. It imports that file on my laptop in a few minutes. However on the Raspberry Pi it took it 30 minutes to go to 20% and crash. Now I've added some swap to the Raspberry Pi and (due to excessive swapping) it took it ~9 hours to reach 99%.
Seems that
alacarte-importer
actually allocates a huge amount of memory when processing the input file and at the end throws anstd::bad_alloc
.Here is an example output:
The text was updated successfully, but these errors were encountered: