You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Subnetwork searching for car takes a lot longer if using multiple vehicles #520
As you can see: subnetwork searching takes roughly 3h if done with 3 flag encoders, which is 9 (!) times longer than if car search is done alone (20min). Memory shouldn't be an issue, but maybe GC or some tarjan implementation limits for the traversal etc?
2015-09-16 22:45:15,965 [main] INFO com.graphhopper.GraphHopper - start finding subnetworks, totalMB:73393, usedMB:25026
2015-09-16 23:16:48,988 [main] INFO com.graphhopper.routing.util.PrepareRoutingSubnetworks - 5241731 subnetworks found for bike2, totalMB:74569, usedMB:36508
2015-09-16 23:42:44,763 [main] INFO com.graphhopper.routing.util.PrepareRoutingSubnetworks - 4475144 subnetworks found for foot, totalMB:74469, usedMB:45832
2015-09-17 02:39:53,375 [main] INFO com.graphhopper.routing.util.PrepareRoutingSubnetworks - 16834684 subnetworks found for car, totalMB:74021, usedMB:44128
Numbers: there are roughly 10 times more subnetworks than for foot or bike, and there are 5 times more subnetworks compared to the single flag encoder case with car.
This happens only if mixing with outdoor profiles. If e.g. only car and motorcycle all is fine (~30min)
Activity
unaccessible nodes don't need to be collected for changing access in …
karussell commentedon Nov 15, 2015
This is now a lot better (<15min each vehicle) but still graph.optimize() takes ~50min
karussell commentedon Nov 16, 2015
This gave a hugh speed up if using multiple vehicles (up to 3h per vehicle). Nice!