[GraphHopper] Can't import small pbf file with GH 0.5
Peter
graphhopper at gmx.de
Tue Aug 25 12:46:38 UTC 2015
It looks like you have a 32bit system (?) and your RAM is therefor
limited to 2gb - correct?
Please reduce the -Xmx setting as you also need free RAM outside of the
JVM heap when using the MMAP setting. 500mb or even 200mb should be
sufficient in your case.
Also try upgrading your JVM to 1.8 and see if that helps.
Regards,
Peter
On 25.08.2015 14:29, XCTrails wrote:
> 2015-08-25 12:32 GMT+02:00 Peter <graphhopper at gmx.de
> <mailto:graphhopper at gmx.de>>:
>
> Hey Armin,
>
> what JVM are you using?
>
>
> java version "1.7.0_79"
> OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.14.04.1)
> OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
>
>
> And are you using MMAP or RAM_STORE option?
>
>
> MMAP_STORE_SYNC (config.properties for 0.5 is the same as the one I
> use for 0.4.1)
>
>
> Please also include a longer excerpt of the error log.
>
>
> here's the console output:
>
> ## using java 1.7.0_79 (64bit) from
> ## using existing osm file oberbayern.pbf
> ## existing jar found
> tools/target/graphhopper-tools-0.5.0-jar-with-dependencies.jar
> ## now import. JAVA_OPTS=-Xmx2000m -Xms2000m -server
> 2015-08-25 14:25:53,162 [main] INFO com.graphhopper.GraphHopper -
> version 0.5.0|2015-08-24T13:50:36+0200 (4,12,3,2,2,1)
> 2015-08-25 14:25:53,195 [main] INFO com.graphhopper.GraphHopper -
> graph car,foot,mtb|MMAP_STORE_SYNC|2D|NoExt|,,,,,
> details:edges:0(0MB), nodes:0(0MB), name:(0MB), geo:0(0MB),
> bounds:1.7976931348623157E308,-1.7976931348623157E308,1.7976931348623157E308,-1.7976931348623157E308
> 2015-08-25 14:25:53,218 [main] INFO com.graphhopper.GraphHopper -
> start creating graph from oberbayern.pbf
> 2015-08-25 14:25:53,219 [main] INFO com.graphhopper.GraphHopper -
> using car,foot,mtb|MMAP_STORE_SYNC|2D|NoExt|,,,,, memory:totalMB:1933,
> usedMB:32
> #
> # There is insufficient memory for the Java Runtime Environment to
> continue.
> # Native memory allocation (malloc) failed to allocate 536870928 bytes
> for Chunk::new
> # An error report file with more information is saved as:
> # /home/amueller/osm/data/graphhopper-0.5/hs_err_pid13469.log
> ./graphhopper.sh: line 310: 13469 Aborted (core
> dumped) "$JAVA" $JAVA_OPTS -cp "$JAR" $GH_CLASS config=$CONFIG
> $GH_IMPORT_OPTS graph.location="$GRAPH" osmreader.osm="$OSM_FILE"
>
> hs_err_pid13469.log is attached.
>
> cheers,
> Armin
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150825/9e7d2112/attachment.html>
More information about the GraphHopper
mailing list