Skip to content
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

[ios] Building a driving route on iPhone 5s hangs/crashes Organic Maps #8420

Open
biodranik opened this issue Jun 8, 2024 · 0 comments
Open
Labels
iOS iOS development Routing Route building issues, e.g. valid route, valid ETA

Comments

@biodranik
Copy link
Member

biodranik commented Jun 8, 2024

iPhone 5s (16GB), iOS 12.5.7

Related to #8294

Download Germany, Austria, Switzerland maps.

Build a route from Würzburg, to:
Erlangen —> works
Konstanz -> fails
Langenburg —> works
Tuttlingen -> fails
Schaffhausen (CH) -> fails
Baar (CH) -> fails

This is likely caused by the routing algorithm consuming too much memory (e.g. >700 Mb). The best fix could be to decrease the memory consumption.

There are several interesting entitlements to increase the memory limit, but they may not work on older iOS versions:
(since iOS 15): https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_kernel_increased-memory-limit

(since iOS 14): https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_kernel_extended-virtual-addressing

https://forums.developer.apple.com/forums/thread/685084

@biodranik biodranik added iOS iOS development Routing Route building issues, e.g. valid route, valid ETA labels Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS iOS development Routing Route building issues, e.g. valid route, valid ETA
Projects
None yet
Development

No branches or pull requests

1 participant