[OSRM-talk] Error in extraction?

Roland Swingler roland at beeline.co
Tue May 11 16:09:51 UTC 2021


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.

Thanks
R



On Tue, 11 May 2021 at 16:50, Brad Colbert via OSRM-talk <
osrm-talk at openstreetmap.org> wrote:

> Hello,
>
> 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.
>
> The command:
>
> osrm-extract -p /usr/local/share/osrm/profiles/truck-new.lua
> us-latest.osm.pbf
>
> The error:
>
> [info] extraction finished after 2791.4s
>
> [info] Generating edge-expanded graph representation
>
> [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.
>
> Aborted (core dumped)
>
> The "machine":
> Os: Ubuntu 18.04
> CPU: Arm?  8 of them
> Mem: 64Gb
> Disk: 200GB, 127Gb free
>
> Thank you,
> Brad
>
> --
> Brad Colbert
> Sr. Data Scientist
> (four eight zero) two nine zero - three nine nine seven <14802903997>
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20210511/14472f3d/attachment.htm>


More information about the OSRM-talk mailing list