<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>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:<br><br>Exception in thread "main" java.lang.OutOfMemoryError: Metaspace when loading the data.<br><br></div>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.<br><br></div>Guess I'll have to upgrade the server before I can go to 0.5 :-/<br><br></div>cheers,<br></div>Armin<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-27 15:46 GMT+02:00 Peter <span dir="ltr"><<a href="mailto:graphhopper@gmx.de" target="_blank">graphhopper@gmx.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hi Armin,<br>
      <br>
      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<br>
      <br>
      Kind Regards,<br>
      Peter<div><div class="h5"><br>
      <br>
      On 27.08.2015 15:39, XCTrails wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hi Peter,<br>
        <div>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">2015-08-26 16:56 GMT+02:00 Peter <span dir="ltr"><<a href="mailto:graphhopper@gmx.de" target="_blank">graphhopper@gmx.de</a>></span>:<br>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                <div bgcolor="#FFFFFF" text="#000000">
                  <div>[sorry for the very ugly thread hijacking of my
                    last email]<br>
                    <br>
                    Hi Armin,<br>
                    <br>
                    would you mind to try if jvm 1.7 works if you add
                    the following command line parameter?<br>
                    <br>
-XX:CompileCommand=exclude,com.graphhopper.coll.GHLongIntBTree::put<br>
                    <br>
                    e.g. append to the existing -Xmx2g setting like:<br>
                    JAVA_OPTS="-Xmx2g
                    -XX:CompileCommand=exclude,com.graphhopper.coll.GHLongIntBTree::put"<br>
                  </div>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>I can confirm that in my dev env, java 1.7.0_79 works
                with GH 0.5 and these switches.<br>
                <br>
              </div>
              <div>cheers,<br>
              </div>
              <div>Armin<br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><span class=""><pre>_______________________________________________
GraphHopper mailing list
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </span></blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div>