<div dir="ltr">To see if it is a memory issue, install the time package and then run /usr/bin/time -v osrm-extract etc. This will tell you peak memory usage (amongst other things), if it is close to the max available then it is likely a memory problem. Equally you can just run htop and observe the memory being used.<div><br></div><div>Thanks</div><div>R<br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 11 May 2021 at 16:50, Brad Colbert via OSRM-talk <<a href="mailto:osrm-talk@openstreetmap.org">osrm-talk@openstreetmap.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm running into a crash when extracting the data from the us-latest.osm.pbf.  I suspect that it is not memory but I'm not sure.</div><div><br></div><div>The command:</div><div><br></div><div>





<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">osrm-extract -p /usr/local/share/osrm/profiles/truck-new.lua us-latest.osm.pbf</span></p></div><div><br></div><div>The error:</div><div><br></div><div>





<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">[info] extraction finished after 2791.4s</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">[info] Generating edge-expanded graph representation</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">[info] . 10% . 20% .osrm-extract: /usr/local/src/osrm-backend/src/extractor/restriction_compressor.cpp:228: osrm::extractor::RestrictionCompressor::Compress(NodeID, NodeID, NodeID)::<lambda(auto:20)> [with auto:20 = osrm::extractor::NodeBasedTurn*]: Assertion `ptr->via == to' failed.</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Aborted (core dumped)</span></p></div><div><br></div><div>The "machine":</div><div>Os: Ubuntu 18.04</div><div>CPU: Arm?  8 of them</div><div>Mem: 64Gb</div><div>Disk: 200GB, 127Gb free</div><div><br></div><div>Thank you,</div><div>Brad <br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>Brad Colbert</div>Sr. Data Scientist<div><a href="tel:14802903997" target="_blank">(four eight zero) two nine zero - three nine nine seven</a><br><div><img src="https://docs.google.com/uc?export=download&id=1x3F_Gm3cV6NujYfYP0qjGbG2DqRikHPw&revid=0B5J91kW9qTKZT1QyalRHRUxUNHRYN3dtbnZFS0dRWlVzcGVzPQ"><br></div></div></div></div></div></div>
_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
</blockquote></div>