<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Max,<br>
      <br>
      the settings in config.properties is obviously only for the
      creation of the graph. As on Android you only have 32MB ...<br>
      <br>
      If you look in the Android code you see the call
      graphhopper.forMobile() which calls setMemoryMapped() which is
      equivalent to MMAP_STORE in the config.properties<br>
      <br>
      BTW: MMAP_STORE_SYNC is a bit slower and only necessary if you
      want to use the MMAP option for the server to guarantee
      read-thread safety<br>
      <br>
      <div>> Maybe I need to increase memory JVM with<b> <i>-Xmx..</i>.
        </b>option for pass the lack of memory heap at graph generation
        step ?</div>
      <br>
      If you increase it it should work. e.g. via <br>
      <pre>export JAVA_OPTS="-Xmx..."; ./graphhopper.sh ...</pre>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
      <br>
    </div>
    <blockquote
cite="mid:CAEkM7yoc2-simjq3-J7PTXZsRxv-7my3TiDM7zt4dBqsZJ-mug@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I tested the new version 0.2 on my Android device.</div>
        <div>So I was forced to generate new graph because of the new
          version of node (V2)</div>
        <div><br>
        </div>
        <div>I want to understand the difference between the two
          following option in config file:</div>
        <div>
          <div><br>
          </div>
          <div><b><i># graph.dataaccess=MMAP_STORE_SYNC</i></b></div>
          <div><b><i>graph.dataaccess=RAM_STORE</i></b></div>
        </div>
        <div><br>
        </div>
        <div>I tested to generate <i>France</i> graph (which is big)
          with <b><i>graph.dataaccess=RAM_STORE</i></b> but the process
          stoped because of lack of memory heap...</div>
        <div><br>
        </div>
        <div>So i change this property to <b><i>graph.dataaccess=MMAP_STORE_SYNC</i></b>
          and the process finished correctly and the graph works and my
          Android device. The time for generate was approximatly
          50minutes (I7 dual core and SSD) for information.</div>
        <div><br>
        </div>
        <div>So I want to know if this option only impact graph
          generation and not impact runtime execution?</div>
        <div>If there is runtime impact (speed or something else) can I
          use <i style="font-weight:bold">graph.dataaccess=RAM_STORE </i>for
          android with big graph like the one for France?</div>
        <div><i style="font-weight:bold"><br>
          </i></div>
        <div>Maybe I need to increase memory JVM with<b> <i>-Xmx..</i>.
          </b>option for pass the lack of memory heap at graph
          generation step ?</div>
        <div><br>
        </div>
        <div>Otherwise good Job, GPS exact routing is perffect :)</div>
        <div>Waiting for perfect thing with turn restriction ;)</div>
        <div><br>
        </div>
        <div>Regards.</div>
        <div><br>
        </div>
        <div>Max</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>