@allObjects
i printed out the free memory throughout the app and it shows clearly where the issues lie. I have a path forward now to optimize the code. Thx for the help.
At startup i use about 40% of the available memory.
Then the render function starts and gets through around 100 of the 240 horizontal screen rays before running out of memory.
So i only have to make my program around 2.5 times more efficient :p
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@allObjects
i printed out the free memory throughout the app and it shows clearly where the issues lie. I have a path forward now to optimize the code. Thx for the help.
At startup i use about 40% of the available memory.
Then the render function starts and gets through around 100 of the 240 horizontal screen rays before running out of memory.
So i only have to make my program around 2.5 times more efficient :p
1 Attachment