-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove guidance data to reduce RAM usage? #5838
Comments
Done in #6045 |
#6045 is indeed related as it does save some calculation on route path data but as stated there: this PR is a first step towards making the loading of these datasets optional and making these changes unlocks the optional loading of data. Optionally loading guidance data (or other parts of the data preprocessed by OSRM) is probably easier to implement now but it's still not possible. |
This issue seems to be stale. It will be closed in 30 days if no further activity occurs. |
While there has been no recent progress on this, I think it's worth keeping the ticket open as a feature request. It would be quite useful in many situations to be able to reduce memory requirements when some data is unused, and this would be easier to build now after #6666. |
I'm usually not interested in route information apart from duration, distance and geometry, so I'm always using OSRM with
steps=false
. My understanding is that the matching data used to generate thesteps
array in response (RouteStep.name
andRouteStep.ref
values among others) is still loaded in RAM. Depending on the extract size, this may amount to a lot of unused data.First of all, I'd like to figure whether trying not to load this data is worth the trouble. I can see
osrm.names
is not that big, butosrm.icd
is. Is there a way to evaluate the potential gain here?The text was updated successfully, but these errors were encountered: