<div dir="ltr">Thank you for your answer Peter.<div><br></div><div>After generation there are two generated file with a name something like "tmpLatitude" and "tmpLongitude" with size of about 150MB each.</div>
<div>They seem to be temporary file used for graph generation. I removed these files and rooting continue working.</div><div>Can I safely do that for each other graph?</div><div><br></div><div>Regards.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/11/21 Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.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 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<div class="im"><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></div>
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 type="cite"><div><div class="h5">
<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></fieldset>
<br>
</div></div><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>
</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" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div>