-
• #2
Take a look to this:
http://www.espruino.com/Reference#l_process_memory -
• #3
I tried and get
process.memory()
={"free":5434,"usage":16,"total":5450,"history":0,"stackEndAddress":536981840,"}
I have 5450 bytes of RAM available of 192k? -
• #4
There's a bit of information about this on the website (for instance http://www.espruino.com/Performance), but basically you have 5450 * 16 bytes = 87200 bytes available.
-
• #5
thanks, on the espruino board with 48k, what is the expected available?
-
• #6
2250 * 16 = 36000 bytes
Basically you could squeeze a lot more out of the STM32F407, but as all I get is trouble if something goes wrong I tend to stick with very safe defaults.
Anyone's free to tweak and compile their own version with increased memory limits though.
Is there a way to see how much RAM is available? I am running an STM32F407.