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 <[email protected]>: > 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 <[email protected]>: > >> [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 > [email protected]https://lists.openstreetmap.org/listinfo/graphhopper > > > > _______________________________________________ > GraphHopper mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/graphhopper > >
_______________________________________________ GraphHopper mailing list [email protected] https://lists.openstreetmap.org/listinfo/graphhopper
