Skip to content

How much memory needed for North American route  #3886

@tman77

Description

@tman77

I've been trying to setup osrm, via

osrm-extract north-america-latest.osm.pbf -p osrm-backend/profiles/car.lua -t 10
osrm-contract north-america-latest.osrm

Everytime I've run the osrm-extract command, I've ended up getting a bad_alloc, see below.

[info] Graph loaded ok and has 282126544 edges
[error] [exception] std::bad_alloc
[error] Please provide more memory or consider using a larger swapfile

I've tried on a machine with 32 GB of ram. I saw that lua5.2 has some memory issues, so am going to retry with lua5.3, as well as with a large swapfile, but curious if there is a minimum amount of memory needed for what I'm trying to do...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions