4 ms·
Of course it does, asymptotic memory behavior is the #1 reason for temporal instability.
by otabdeveloper4 4y ago
Of course it does, asymptotic memory behavior is the #1 reason for temporal instability.
- rowanG077 4y agoThat's only for long running programs generally with a GC. Ferret does not have a GC by default and furthermore can run without heap allocation if you want. One of the ways to get lower latency is in fact to never deallocate and just ensure you won't run out of memory until the task is done.
- otabdeveloper4 4y agoYou just described practical examples of how to lower temporal instability by controlling memory allocation behavior :)
- rowanG077 4y agoYes I am. And the ones I'm referencing clearly show that ballooning memory is not equal to higher latency, as you claimed. You might say there is a correlation but those are due to other factors and not amount of memory used.
- nine_k 4y agoBallooning memory can be best for real time, if you can afford it: allocation becomes trivial, reclamation is absent. I remember a story about a rocket which had a range limitation due to the amount if RAM onboard because it never freed any memory. When the engine of the rocket was upgraded, they simply doubled the RAM to let the firmware work for a longer time.