-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OsmAndMapCreator IndexOutOfBoundsException for big extracts #687
Comments
The Bayern split accross 49th parallel was successful and the two files are |
Did you try pbf as input file cause it might work better as it tested more |
No, but I'll go try that as well |
Yes, it also crashes:
|
We don't build bayern separately cause it might be too big, we build as separate regions but the crash is strange. It happens on the last stage... |
Oh I see, so the workaround is something like
|
Yes that's what we do actually... processing large file is just takes too much memory and we even can run in parallel using 1 mapcreator batch utility and local docker |
Hello!
I have been trying to create
.obf
maps of.osm.bz2
extracts, andOsmAndMapCreator generate-obf
works well for the following:Switzerland.osm.bz2
(osm.bz2 692MB, obf 783MB)But it crashes while
writing route index
when the input file is bigger than about 1GB (I am giving it -Xmx 25G of memory to use) on the following:(germany)
baden-wuerttemberg-latest.osm.bz2
(osm.bz2 854MB, unfinished obf 696MB)(germany)
bayern-latest.osm.bz2
(osm.bz2 1.2G, unfinished obf 889MB)Here is the end of the log for baden-wuerttemberg:
(
IndexRouteCreator.java:1594
that line does appear 3 consecutive times)The two extracts from Germany are geofabrik extracts, because I was suspecting that the Bayern input I had was corrupted (it had crashed, at the same point). I have just split Bayern along 49 latitude and will start converting the two halves separately and report how it went.
These extracts take more than 10h to convert so it was a bit of an adventure.
I'm running the latest version from github:
Do you also want logs for other and/or successful extracts ? Or the complete log ?
Should I run the conversion, or compile MapCreator, again with some specific flags ?
The text was updated successfully, but these errors were encountered: