Hallo,
how can I estimate the maximum heap and per-process stacks usage?
I need to fine tune heap and stacks dimensions
best regards
Max
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hallo,
how can I estimate the maximum heap and per-process stacks usage?
I need to fine tune heap and stacks dimensions
best regards
Max
Max,
A typical method to fine tune stack and heap sizes is to fully exercise the application (through all its expected modes), and then look at the resulting memory usage. And based on those results, shrink allocated sizes, or maybe in some cases increase them if you want to add some extra margin for unanticipated timings. This is primarily measurement versus estimation.
Scott
Max,
Sorry for the delay, I'd missed your reply.
Have you looked at the RTOS Object View (ROV) tool? There is a description of how to use this for determining stack and heap sizes in the SYS/BIOS kernel User's Guide (www.ti.com/.../spruex3o.pdf).
Regards,
Scott