[GraphHopper] Can't import small pbf file with GH 0.5

XCTrails info at xctrails.org
Thu Sep 10 14:05:56 UTC 2015


Hi,

further to that: It turns out that neither of the above approaches works on
my production server which so far is unfortunately a 32bit 12.04 Ubuntu.
Tried with both Java7 and 8 and the above mentioned compiler flags:

Exception in thread "main" java.lang.OutOfMemoryError: Metaspace when
loading the data.

The data in the production case is built every week by a bigger server and
then copied to the smaller, it's an OSM extraction for D/A/CH/I. Works fine
with 0.4.

Guess I'll have to upgrade the server before I can go to 0.5 :-/

cheers,
Armin


2015-08-27 15:46 GMT+02:00 Peter <graphhopper at gmx.de>:

> Hi Armin,
>
> thanks a bunch for confirming this! Which also means that a vanilla JDK 8
> now works and won't trigger the JVM bug in #187
>
> Kind Regards,
> Peter
>
>
> On 27.08.2015 15:39, XCTrails wrote:
>
> Hi Peter,
>
> 2015-08-26 16:56 GMT+02:00 Peter <graphhopper at gmx.de>:
>
>> [sorry for the very ugly thread hijacking of my last email]
>>
>> Hi Armin,
>>
>> would you mind to try if jvm 1.7 works if you add the following command
>> line parameter?
>>
>> -XX:CompileCommand=exclude,com.graphhopper.coll.GHLongIntBTree::put
>>
>> e.g. append to the existing -Xmx2g setting like:
>> JAVA_OPTS="-Xmx2g
>> -XX:CompileCommand=exclude,com.graphhopper.coll.GHLongIntBTree::put"
>>
>
> I can confirm that in my dev env, java 1.7.0_79 works with GH 0.5 and
> these switches.
>
> cheers,
> Armin
>
>
> _______________________________________________
> GraphHopper mailing listGraphHopper at openstreetmap.orghttps://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
> _______________________________________________
> 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/20150910/803ceac9/attachment.html>


More information about the GraphHopper mailing list