Hi,
What’s the right approach to obtaining the max heap usage of an impulse? I am running a keyword spotting demo with an EON compiled model, and using EIDSP_TRACK_ALLOCATIONS I see that the Impulse reports using peak ram of ~24k; however the actual number seems to be ~45k (anything less and the edge impulse library errors out). My guess is memory alignment is causing extra usage not accounted for, but even then the number seems too inflated. Is there any other dynamic allocations happening that aren’t accounted for by EIDSP_TRACK_ALLOCATIONS?
On a related note I’ve seen mention in the forums that static allocation is an option, but no specifics on how to enable it; can you tell me how to enable it?