Re: Massive memory optimization: flash functions! (+SPI SSD1
Posted: Sun May 01, 2016 5:25 pm
@dpwhittaker, I have been using your Flashmod technique for almost a year and I think I am doing it correct. However after the calling of a flashed file, I do not get all the heap back. The effect is that as I keep calling functions the heap keeps on shrinking.
Is this what I should expext, or should the heap deminish by the size of the flash function loaded and restore to its value before the loading the function to the original heap available. It appears as if the loaded flash functions are not unloaded and stay in the heap.
Your feedback is appreciated.
Is this what I should expext, or should the heap deminish by the size of the flash function loaded and restore to its value before the loading the function to the original heap available. It appears as if the loaded flash functions are not unloaded and stay in the heap.
Your feedback is appreciated.