logo separator

[mkgmap-dev] splitter r-180

From Steve Hosgood steve at stoneship.org.uk on Tue Oct 4 16:08:59 BST 2011

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20111004/422c9782/attachment.html 


More information about the mkgmap-dev mailing list