Skip to content

Conversation

rupertbenbrook
Copy link
Contributor

On long flights the message display would progressively consume more CPU and memory, eventually making Mission Planner very slow. This PR fixes that problem. The cause was to do with the async calls trying to context switch between the same context and too many context. Instead, the context is now disconnected from the async calls so removing a message can happen in a different context from adding. In addition, the number of contexts being created has been reduced.

@meee1 meee1 merged commit 48e3ac5 into ArduPilot:master Nov 17, 2023
@rupertbenbrook rupertbenbrook deleted the users/rupert/performance-fix branch November 20, 2023 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants