Closed vincent-caron closed 6 years ago
Thanks for the feedback, this is interesting. I'll try and have look soon, pretty crucial issue this.
This is also a good test to include in the functional testing. :+1:
@xivk , i've downgraded to version 1.3.2 for routing and OSM and it works flawlessly ... May be something introduced in the 1.4.0 version ...
Can give a try to find when this has been broken ...
I was looking at this just now. I realized we are already testing for this scenario in the functional tests but we only test with a contracted graph. If I understand correctly this is happening after a long time and on random routes?
I just can't reproduce this issue. Are you running on .NET core or .NET framework?
Yes, i'm not using contracted route, i've uses idp tool with pedestrian parameter for france.
I'm using .net framework. In fact, I've injected my code into your source of itinero and try from there. So, basically I'm using the technology you're using :)
Thanks for the feedback, I'm still trying to reproduce this. Two questions:
I would advise you to contract the graph, it will be a lot faster.
Hi @xivk ,
Yes, it's always the same route that's slow Yes, i get the result after the 3mins.
All the others calculation (before and after) are very fast, as you can see in the file.
It seems like the garbage collector (or some sort of other process) is working like crazy ...
With the last version, the problem seems to be solved and i've not changed anything else in my code.
Bytheway, thanks for your investigations
Ok, thanks.
It's unlikely that this has something to do with garbage collection, probably something in Itinero. The only option I can think of is that sometimes Itinero doesn't handle routes that can't be found very gracefully. That has improved in the last version.
Closing this issue for now, feel free to reopen if you have this problem again.
Hello,
I'm computing route from a central point and many points around it (between 200 and 300 points). I've loaded a routerdb created with the idp tool for pedestrian vehicle (from geofabrik france-latest.osm.pbf).
For most of the calculate it's very fast but suddenly it took a long time. I've put a stopwatch to track the time and here an example :
50,28602 / 2,79988 vers 50,27105 / 2,798653 00:00:00.0245858 50,28602 / 2,79988 vers 50,27176 / 2,792633 00:03:54.8091899 50,28602 / 2,79988 vers 50,27185 / 2,792245 00:00:00.0296471
note :
I've downloaded the src version and modified the basic sample to try it and i've the problem too.
I'll join the log file with all the points, if you want to give it a try.
i'm using itinero pre64 and itinero.osm pre64 with c#
Any help welcome because i'm in a dead end ....
Thanks log 1.txt
Pseudo code :