
attempting to split up daily planet files on australia into smaller pieces , but the program only reads 17,5000 nodes and then drops dead . Stephen

On 2011-10-02 02:40, steve sgalowski wrote:
attempting to split up daily planet files on australia into smaller pieces , but the program only reads 17,5000 nodes and then drops dead .
Stephen
I think I might have this too: I was just following the instructions in the new(ish) "How to Create a Map" wiki page (http://wiki.openstreetmap.org/wiki/Mkgmap/How_to_create_a_map). I downloaded "wales.osm.pbf" dated 4th Oct from http://download.geofabrik.de/osm/europe/great_britain/ I ran "java -jar splitter.jar wales.osm.pbf" as instructed on the "How to Create a Map" wiki page. Result - out of Java heap space message (as follows): Making SparseMultiMap MAP occupancy: 973953 MAP occupancy: 26047 Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at it.unimi.dsi.fastutil.longs.LongArrays.ensureCapacity(LongArrays.java:107) at it.unimi.dsi.fastutil.longs.LongArrayList.ensureCapacity(LongArrayList.java:202) at it.unimi.dsi.fastutil.longs.LongArrayList.size(LongArrayList.java:271) (etc etc). The program just hangs at that point, doesn't seem to do anything except generate a "progress" message every two minutes. Steve

El 04/10/11 17:08, Steve Hosgood escribió:
On 2011-10-02 02:40, steve sgalowski wrote:
attempting to split up daily planet files on australia into smaller
pieces , but the program only reads 17,5000 nodes and then drops dead
.
Stephen
I think I might have this too: I was just following the instructions in the new(ish) "How to Create a Map" wiki page (http://wiki.openstreetmap.org/wiki/Mkgmap/How_to_create_a_map).
I downloaded "wales.osm.pbf" dated 4th Oct from http://download.geofabrik.de/osm/europe/great_britain/
I ran "java -jar splitter.jar wales.osm.pbf" as instructed on the "How to Create a Map" wiki page.
Result - out of Java heap space message (as follows):
Making SparseMultiMap MAP occupancy: 973953 MAP occupancy: 26047 Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at it.unimi.dsi.fastutil.longs.LongArrays.ensureCapacity(LongArrays.java:107) at it.unimi.dsi.fastutil.longs.LongArrayList.ensureCapacity(LongArrayList.java:202) at it.unimi.dsi.fastutil.longs.LongArrayList.size(LongArrayList.java:271) (etc etc).
The program just hangs at that point, doesn't seem to do anything except generate a "progress" message every two minutes. I added a hint about this problem to "How to Create a Map" wiki page. Please have a look at it.

On 2011-10-04 18:01, Carlos Dávila wrote:
El 04/10/11 17:08, Steve Hosgood escribió:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at it.unimi.dsi.fastutil.longs.LongArrays.ensureCapacity(LongArrays.java:107) at it.unimi.dsi.fastutil.longs.LongArrayList.ensureCapacity(LongArrayList.java:202) at it.unimi.dsi.fastutil.longs.LongArrayList.size(LongArrayList.java:271) (etc etc).
The program just hangs at that point, doesn't seem to do anything except generate a "progress" message every two minutes. I added a hint about this problem to "How to Create a Map" wiki page. Please have a look at it.
That got it! Thank you. Steve
participants (3)
-
Carlos Dávila
-
Steve Hosgood
-
steve sgalowski