mapbox / mapbox/mapbox-arkit-ios

Limit number of objects for route.

Open
#15 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
227
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Hi, everybody!

It may look a little obvious, but still.
If you create a long route (I found this when build a route for 10 min by foot from my location), the app will crash due to memory issue.
Maybe you should set a limit for placing objects on route or place them not that often.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by reproducing the memory crash with a 10-minute walking route, then trace where route objects are placed and measure how object count grows; done means long routes no longer exhaust memory while preserving useful route placement.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.