how do you set the size of a task’s allocated memory?
For example if you have a task that only blinks and LED, surely you would need only very few bytes contrary to other much more complex tasks?
What dictates the size? How do you choose it?
Are there tools and/or techniques to estimate the exact amount or at least a SAFE value close to the minimum that allows the task to always work?