Hi,
I have a project for my Teensy 4 that I initially wrote using Arduino 1.8.10 and Teensyduino 1.48. When I compile it I still have plenty of dynamic memory available:
I just upgraded to Teensyduino 1.52 and the results are much different. It seems half the dynamic memory is missing:
As you can see the memory usage and availability is much different. I'm using the same libraries and same code. Why has the maximum available memory been cut in half between these versions? What did I miss?
Thanks for your time.
I have a project for my Teensy 4 that I initially wrote using Arduino 1.8.10 and Teensyduino 1.48. When I compile it I still have plenty of dynamic memory available:
Code:
Sketch uses 125744 bytes (6%) of program storage space. Maximum is 2031616 bytes.
Global variables use 497200 bytes (47%) of dynamic memory, leaving 551376 bytes for local variables. Maximum is 1048576 bytes.
I just upgraded to Teensyduino 1.52 and the results are much different. It seems half the dynamic memory is missing:
Code:
Sketch uses 127024 bytes (6%) of program storage space. Maximum is 2031616 bytes.
Global variables use 529076 bytes (100%) of dynamic memory, leaving -4788 bytes for local variables. Maximum is 524288 bytes.
data section exceeds available space in board
As you can see the memory usage and availability is much different. I'm using the same libraries and same code. Why has the maximum available memory been cut in half between these versions? What did I miss?
Thanks for your time.
Last edited: