Magneto memory optimization #411

Closed
opened 2026-04-05 17:52:56 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @deiteris on 2/26/2022

Current magneto implementation heavily relies on stack memory allocation of double arrays. This results in crash on esp8266 due to insufficient RAM. This PR combines heap allocation and stack allocation to keep calculation speed and save a lot of RAM.

*Originally created by @deiteris on 2/26/2022* Current magneto implementation heavily relies on stack memory allocation of `double` arrays. This results in crash on esp8266 due to insufficient RAM. This PR combines heap allocation and stack allocation to keep calculation speed and save a lot of RAM.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/SlimeVR-Tracker-ESP#411